[X86] Disable sldtq parsing in 64-bit mode.
llvm-svn: 322353
This commit is contained in:
parent
3554a71cf1
commit
0ccbbf3f3b
|
|
@ -417,10 +417,10 @@ def SLDT32r : I<0x00, MRM0r, (outs GR32:$dst), (ins),
|
|||
// LLDT is not interpreted specially in 64-bit mode because there is no sign
|
||||
// extension.
|
||||
def SLDT64r : RI<0x00, MRM0r, (outs GR64:$dst), (ins),
|
||||
"sldt{q}\t$dst", [], IIC_SLDT>, TB;
|
||||
"sldt{q}\t$dst", [], IIC_SLDT>, TB, Requires<[In64BitMode]>;
|
||||
let mayStore = 1 in
|
||||
def SLDT64m : RI<0x00, MRM0m, (outs), (ins i16mem:$dst),
|
||||
"sldt{q}\t$dst", [], IIC_SLDT>, TB;
|
||||
"sldt{q}\t$dst", [], IIC_SLDT>, TB, Requires<[In64BitMode]>;
|
||||
|
||||
def LGDT16m : I<0x01, MRM2m, (outs), (ins opaque48mem:$src),
|
||||
"lgdt{w}\t$src", [], IIC_LGDT>, TB, OpSize16, Requires<[Not64BitMode]>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue