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.

llvm-svn: 97992
This commit is contained in:
Kevin Enderby 2010-03-08 22:17:26 +00:00
parent 42f1b1b255
commit 23e37f3e39
2 changed files with 11 additions and 2 deletions

View 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

View File

@ -41,4 +41,13 @@
0x0f 0x01 0xf8
# CHECK: rdtscp
0x0f 0x01 0xf9
0x0f 0x01 0xf9
# CHECK: vmxon
0xf3 0x0f 0xc7 0x30
# CHECK: vmptrld
0x0f 0xc7 0x30
# CHECK: vmptrst
0x0f 0xc7 0x38