Fix the vmxon entry in the X86InstrInfo.td so it has the correct prefix bytes
authorKevin Enderby <enderby@apple.com>
Mon, 8 Mar 2010 22:17:26 +0000 (22:17 +0000)
committerKevin Enderby <enderby@apple.com>
Mon, 8 Mar 2010 22:17:26 +0000 (22:17 +0000)
for the encoding and is not the same as vmptrld.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97992 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td
test/MC/Disassembler/simple-tests.txt

index 52aa8082d6748fc001b174bbe8c4bd1bb63bdbb9..4589b59e50a5f63a4644d098525173fc28e9c3e1 100644 (file)
@@ -4252,7 +4252,7 @@ def VMWRITE32rr : I<0x79, MRMSrcReg, (outs GR32:$dst), (ins GR32:$src),
 // 0F 01 C4
 def VMXOFF : I<0x01, MRM_C4, (outs), (ins), "vmxoff", []>, TB;
 def VMXON : I<0xC7, MRM6m, (outs), (ins i64mem:$vmxon),
-  "vmxon\t{$vmxon}", []>, XD;
+  "vmxon\t{$vmxon}", []>, XS;
 
 //===----------------------------------------------------------------------===//
 // Non-Instruction Patterns
index 11c077d8929c31f8d846f5d8d660db78cc321f0c..b6bb35dc56a1e4e4203f75294e7e0e834b228226 100644 (file)
 0x0f 0x01 0xf8
 
 # CHECK: rdtscp
-0x0f 0x01 0xf9
\ No newline at end of file
+0x0f 0x01 0xf9
+
+# CHECK: vmxon
+0xf3 0x0f 0xc7 0x30
+
+# CHECK: vmptrld
+0x0f 0xc7 0x30
+
+# CHECK: vmptrst
+0x0f 0xc7 0x38