diff options
author | Craig Topper <craig.topper@intel.com> | 2018-01-12 05:38:15 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-01-12 05:38:15 +0000 |
commit | 0ccbbf3f3bbd50825e51dc954f0d2ee009c7e2be (patch) | |
tree | ba7e8a227ed500cafdc2502984c7ad819c1fce5e /llvm/lib/Target/X86/X86InstrSystem.td | |
parent | 3554a71cf13d6abae6a21ca31511a53b3d59aea0 (diff) | |
download | bcm5719-llvm-0ccbbf3f3bbd50825e51dc954f0d2ee009c7e2be.tar.gz bcm5719-llvm-0ccbbf3f3bbd50825e51dc954f0d2ee009c7e2be.zip |
[X86] Disable sldtq parsing in 64-bit mode.
llvm-svn: 322353
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrSystem.td')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrSystem.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSystem.td b/llvm/lib/Target/X86/X86InstrSystem.td index dfd94ab6ea5..c1837d55e6e 100644 --- a/llvm/lib/Target/X86/X86InstrSystem.td +++ b/llvm/lib/Target/X86/X86InstrSystem.td @@ -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]>; |