[llvm] r191650 - Add a few more FMA4 disassembler test cases to match the scalar set with regards to combinations of L and W-bits.

Craig Topper craig.topper at gmail.com
Sun Sep 29 19:50:51 PDT 2013


Author: ctopper
Date: Sun Sep 29 21:50:51 2013
New Revision: 191650

URL: http://llvm.org/viewvc/llvm-project?rev=191650&view=rev
Log:
Add a few more FMA4 disassembler test cases to match the scalar set with regards to combinations of L and W-bits.

Modified:
    llvm/trunk/test/MC/Disassembler/X86/simple-tests.txt

Modified: llvm/trunk/test/MC/Disassembler/X86/simple-tests.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/X86/simple-tests.txt?rev=191650&r1=191649&r2=191650&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/X86/simple-tests.txt (original)
+++ llvm/trunk/test/MC/Disassembler/X86/simple-tests.txt Sun Sep 29 21:50:51 2013
@@ -758,6 +758,18 @@
 # CHECK: vfmaddps   %xmm2, %xmm1, %xmm0, %xmm0
 0xc4 0xe3 0xf9 0x68 0xc2 0x10
 
+# CHECK: vfmaddps  (%rcx), %ymm1, %ymm0, %ymm0
+0xc4 0xe3 0xfd 0x68 0x01 0x10
+
+# CHECK: vfmaddps   %ymm1, (%rcx), %ymm0, %ymm0
+0xc4 0xe3 0x7d 0x68 0x01 0x10
+
+# CHECK: vfmaddps   %ymm1, %ymm2, %ymm0, %ymm0
+0xc4 0xe3 0x7d 0x68 0xc2 0x10
+
+# CHECK: vfmaddps   %ymm2, %ymm1, %ymm0, %ymm0
+0xc4 0xe3 0xfd 0x68 0xc2 0x10
+
 # CHECK: vpermil2ps $1, 4(%rax), %xmm2, %xmm3, %xmm0
 0xc4 0xe3 0xe1 0x48 0x40 0x04 0x21
 





More information about the llvm-commits mailing list