[llvm] r333713 - [X86] Add test cases showing the disassembler producing an xmm16-xmm31 register in 32-bit mode.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 17:10:32 PDT 2018


Author: ctopper
Date: Thu May 31 17:10:32 2018
New Revision: 333713

URL: http://llvm.org/viewvc/llvm-project?rev=333713&view=rev
Log:
[X86] Add test cases showing the disassembler producing an xmm16-xmm31 register in 32-bit mode.

We aren't properly suppressing the reading of VEX.R' and VEX.V' in 32-bit mode.

Modified:
    llvm/trunk/test/MC/Disassembler/X86/x86-32.txt

Modified: llvm/trunk/test/MC/Disassembler/X86/x86-32.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/X86/x86-32.txt?rev=333713&r1=333712&r2=333713&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/X86/x86-32.txt (original)
+++ llvm/trunk/test/MC/Disassembler/X86/x86-32.txt Thu May 31 17:10:32 2018
@@ -883,3 +883,9 @@
 
 #CHECK: enclv
 0x0f 0x01 0xc0
+
+#CHECK: vaddps %xmm2, %xmm1, %xmm16
+0x62 0xe1 0x74 0x00 0x58 0xc2
+
+#CHECK: vgatherdps (%esi,%zmm16,4), %zmm1 {%k2}
+0x62 0xf2 0x7d 0x42 0x92 0x0c 0x86




More information about the llvm-commits mailing list