llvm-project/llvm/test/tools/llvm-mca
Craig Topper bf7593ec4a [X86] Print all register forms of x87 fadd/fsub/fdiv/fmul as having two arguments where on is %st.
All of these instructions consume one encoded register and the other register is %st. They either write the result to %st or the encoded register. Previously we printed both arguments when the encoded register was written. And we printed one argument when the result was written to %st. For the stack popping forms the encoded register is always the destination and we didn't print both operands. This was inconsistent with gcc and objdump and just makes the output assembly code harder to read.

This patch changes things to always print both operands making us consistent with gcc and objdump. The parser should still be able to handle the single register forms just as it did before. This also matches the GNU assembler behavior.

llvm-svn: 353061
2019-02-04 17:28:18 +00:00
..
AArch64 [llvm-mca] Update tests for Exynos (NFC) 2019-01-11 19:36:27 +00:00
ARM [llvm-mca] Add support for instructions with a variadic number of operands. 2018-11-25 12:46:24 +00:00
SystemZ [MCA] Add support for BeginGroup/EndGroup. 2018-12-17 14:27:33 +00:00
X86 [X86] Print all register forms of x87 fadd/fsub/fdiv/fmul as having two arguments where on is %st. 2019-02-04 17:28:18 +00:00
invalid_input_file_name.test Replace unused output filenames with /dev/null in tests 2018-07-02 18:16:44 +00:00
lit.local.cfg