[llvm-commits] [llvm] r97992 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.td test/MC/Disassembler/simple-tests.txt
Kevin Enderby
enderby at apple.com
Mon Mar 8 14:17:27 PST 2010
Author: enderby
Date: Mon Mar 8 16:17:26 2010
New Revision: 97992
URL: http://llvm.org/viewvc/llvm-project?rev=97992&view=rev
Log:
Fix the vmxon entry in the X86InstrInfo.td so it has the correct prefix bytes
for the encoding and is not the same as vmptrld.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
llvm/trunk/test/MC/Disassembler/simple-tests.txt
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=97992&r1=97991&r2=97992&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Mon Mar 8 16:17:26 2010
@@ -4252,7 +4252,7 @@
// 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
Modified: llvm/trunk/test/MC/Disassembler/simple-tests.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/simple-tests.txt?rev=97992&r1=97991&r2=97992&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/simple-tests.txt (original)
+++ llvm/trunk/test/MC/Disassembler/simple-tests.txt Mon Mar 8 16:17:26 2010
@@ -41,4 +41,13 @@
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
More information about the llvm-commits
mailing list