diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-09-30 02:46:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-09-30 02:46:36 +0000 |
commit | 92b45819531966f2d1365ab3564342a561f3b949 (patch) | |
tree | c1ca1370ee33c8e00453b53b2d9ef1981f72b537 /test/MC | |
parent | 2f0843321016091dca890c819741e06f11ceb390 (diff) | |
download | llvm-92b45819531966f2d1365ab3564342a561f3b949.tar.gz llvm-92b45819531966f2d1365ab3564342a561f3b949.tar.bz2 llvm-92b45819531966f2d1365ab3564342a561f3b949.tar.xz |
Various x86 disassembler fixes.
Add VEX_LIG to scalar FMA4 instructions.
Use VEX_LIG in some of the inheriting checks in disassembler table generator.
Make use of VEX_L_W, VEX_L_W_XS, VEX_L_W_XD contexts.
Don't let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from their non-L forms unless VEX_LIG is set.
Let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from all of their non-L or non-W cases.
Increase ranking on VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE so they get chosen over non-L/non-W forms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/X86/simple-tests.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/simple-tests.txt b/test/MC/Disassembler/X86/simple-tests.txt index 940b1f7b8f..a29ae5c3cd 100644 --- a/test/MC/Disassembler/X86/simple-tests.txt +++ b/test/MC/Disassembler/X86/simple-tests.txt @@ -129,6 +129,9 @@ # CHECK: vcvtsd2si %xmm0, %rax 0xc4 0xe1 0xfb 0x2d 0xc0 +# CHECK: vcvtsd2si %xmm0, %rax +0xc4 0xe1 0xff 0x2d 0xc0 + # CHECK: vmaskmovpd %xmm0, %xmm1, (%rax) 0xc4 0xe2 0x71 0x2f 0x00 @@ -260,6 +263,9 @@ # CHECK: vmovups %ymm0, %ymm1 0xc5 0xfc 0x11 0xc1 +# CHECK: vmovups %ymm0, %ymm1 +0xc4 0xe1 0xfc 0x11 0xc1 + # CHECK: vmovaps %ymm1, %ymm0 0xc5 0xfc 0x28 0xc1 @@ -722,6 +728,36 @@ # CHECK: vfmaddss %xmm1, (%rcx), %xmm0, %xmm0 0xc4 0xe3 0x79 0x6a 0x01 0x10 +# CHECK: vfmaddss (%rcx), %xmm1, %xmm0, %xmm0 +0xc4 0xe3 0xfd 0x6a 0x01 0x10 + +# CHECK: vfmaddss %xmm1, (%rcx), %xmm0, %xmm0 +0xc4 0xe3 0x7d 0x6a 0x01 0x10 + +# CHECK: vfmaddss %xmm2, %xmm1, %xmm0, %xmm0 +0xc4 0xe3 0xf9 0x6a 0xc2 0x10 + +# CHECK: vfmaddss %xmm1, %xmm2, %xmm0, %xmm0 +0xc4 0xe3 0x79 0x6a 0xc2 0x10 + +# CHECK: vfmaddss %xmm2, %xmm1, %xmm0, %xmm0 +0xc4 0xe3 0xfd 0x6a 0xc2 0x10 + +# CHECK: vfmaddss %xmm1, %xmm2, %xmm0, %xmm0 +0xc4 0xe3 0x7d 0x6a 0xc2 0x10 + +# CHECK: vfmaddps (%rcx), %xmm1, %xmm0, %xmm0 +0xc4 0xe3 0xf9 0x68 0x01 0x10 + +# CHECK: vfmaddps %xmm1, (%rcx), %xmm0, %xmm0 +0xc4 0xe3 0x79 0x68 0x01 0x10 + +# CHECK: vfmaddps %xmm1, %xmm2, %xmm0, %xmm0 +0xc4 0xe3 0x79 0x68 0xc2 0x10 + +# CHECK: vfmaddps %xmm2, %xmm1, %xmm0, %xmm0 +0xc4 0xe3 0xf9 0x68 0xc2 0x10 + # CHECK: vpermil2ps $1, 4(%rax), %xmm2, %xmm3, %xmm0 0xc4 0xe3 0xe1 0x48 0x40 0x04 0x21 |