llvm-project/llvm/test/tools
Craig Topper 5a570dd437 [X86] Print %st(0) as %st to match what gcc inline asm uses as the clobber name to make MS inline asm work correctly
Summary:
When calculating clobbers for MS style inline assembly we fail if the asm clobbers stack top because we print st(0) and try to pass it through the gcc register name check. This was found with when I attempted to make a emms/femms clobber all ST registers. If you use emms/femms in MS inline asm we would try to use st(0) as the clobber name but clang would think that wasn't a valid clobber name.

This also matches what objdump disassembly prints. It's also what is printed by gcc -S.

Reviewers: RKSimon, rnk, efriedma, spatel, andreadb, lebedev.ri

Reviewed By: rnk

Subscribers: eraman, gbedwell, lebedev.ri, llvm-commits

Differential Revision: https://reviews.llvm.org/D57621

llvm-svn: 352985
2019-02-03 07:53:39 +00:00
..
dsymutil [dsymutil] Upstream unobfuscation logic. 2019-01-07 23:27:25 +00:00
gold Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
llvm-ar [llvm-ar] Resubmit recursive thin archive test with fix for full path names and better error messages 2019-01-15 21:52:31 +00:00
llvm-cfi-verify [cfi-verify] Support cross-DSO 2018-08-24 15:21:58 +00:00
llvm-config [gn build] Commit change that should have been in r350410. 2019-01-04 17:26:05 +00:00
llvm-cov [llvm-cov] Add lcov tracefile export format. 2018-11-09 16:10:44 +00:00
llvm-cvtres [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
llvm-cxxdump [llvm-cxxdump] Use error reporting helpers from support 2018-11-11 01:24:02 +00:00
llvm-cxxfilt Add test for demangling GNU ABI tags. 2018-03-22 22:04:32 +00:00
llvm-cxxmap Add flag to llvm-profdata to allow symbols in profile data to be remapped, and 2018-09-13 20:22:02 +00:00
llvm-diff llvm-diff: Fix crash on anonymous functions 2018-09-24 04:42:13 +00:00
llvm-dlltool [COFF] Adjust how we flag weak externals 2018-07-20 20:48:29 +00:00
llvm-dwarfdump [DWARF v5] Fix DWARF emitter and consumer to produce/expect a uleb for a location description's length. 2019-02-01 17:11:58 +00:00
llvm-dwp [llvm-dwp] Clean up tests X86/*.test 2018-09-07 18:29:20 +00:00
llvm-elfabi [elfabi] Add support for reading dynamic symbols from binaries 2019-01-24 22:39:21 +00:00
llvm-exegesis [llvm-exegesis] Add throughput mode. 2019-01-30 16:02:20 +00:00
llvm-extract [hot-cold-split] Name split functions with ".cold" suffix 2018-10-24 18:53:47 +00:00
llvm-isel-fuzzer Revert r326710 "Fuzzer: remove temporary files after we're done with them." 2018-03-12 13:22:12 +00:00
llvm-lib Attempt to get test/tools/llvm-lib/help.test passing on sanitizer-x86_64-linux-fast 2018-07-14 11:33:33 +00:00
llvm-lit
llvm-lto [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends 2018-02-07 04:05:59 +00:00
llvm-lto2 [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
llvm-mc Replace unused output filenames with /dev/null in tests 2018-07-02 18:16:44 +00:00
llvm-mca [X86] Print %st(0) as %st to match what gcc inline asm uses as the clobber name to make MS inline asm work correctly 2019-02-03 07:53:39 +00:00
llvm-modextract
llvm-mt [llvm-mt] Use WithColor for printing errors. 2018-06-23 16:49:07 +00:00
llvm-nm Add lit config file to skip tests if WebAssembly target is not available. 2019-01-30 09:49:39 +00:00
llvm-objcopy [llvm-objcopy] Temporarily limit one test to darwin 2019-02-02 05:01:00 +00:00
llvm-objdump [llvm-objdump] - llvm-objdump can skip bytes at the end of a section. 2019-02-01 19:11:47 +00:00
llvm-opt-fuzzer [NewPM] teach -passes= to emit meaningful error messages 2018-10-17 10:36:23 +00:00
llvm-opt-report
llvm-pdbdump [NativePDB] Fix access to both old & new fpo data entries from dbi stream 2019-01-30 10:40:45 +00:00
llvm-profdata [llvm-profdata] add value-cutoff functionality in show command 2019-01-08 22:41:48 +00:00
llvm-rc [llvm-rc] Support '--' for delimiting options from input paths 2019-01-16 08:09:22 +00:00
llvm-readobj [llvm-readobj] Add a flag to dump just the section-to-segment mapping. 2019-02-01 18:51:10 +00:00
llvm-size [llvm-size][libobject] Add explicit "inTextSegment" methods similar to "isText" section methods to calculate size correctly. 2018-12-13 19:40:12 +00:00
llvm-split
llvm-strings [llvm-strings] Fix whitespaces to match strings output. 2018-11-09 18:03:21 +00:00
llvm-symbolizer [llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and simplify (#3) 2019-01-31 14:22:50 +00:00
llvm-xray/X86 [llvm-xray] Support for PIE 2018-12-14 01:37:56 +00:00
lto [LTO] Change test/tools/lto/no-bitcode.s requirement from arm to aarch64 2019-01-18 15:57:59 +00:00
obj2yaml [obj2yaml] - Dump the sh_entsize section field. 2019-01-28 15:05:10 +00:00
opt-viewer [opt-viewer] Add javascript to expand/hide full message for multiline remarks. 2019-01-25 17:48:31 +00:00
sancov
sanstats [cfi] Help sanstats to find binary if they are not at the original location 2018-11-26 21:48:55 +00:00
yaml2obj [ObjectYAML] [COFF] Support multiple symbols with the same name 2019-01-07 20:55:33 +00:00