diff options
author | Craig Topper <craig.topper@intel.com> | 2017-10-23 16:11:33 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-10-23 16:11:33 +0000 |
commit | 4d93adfed5e88b53907ae671788166107ad2cf28 (patch) | |
tree | 4755e5730266c6ff0a3869442bad2de25ce1d976 /llvm/lib/Target | |
parent | 1dcb913be6898a25a45eb8e5efbf11e0afc12df4 (diff) | |
download | bcm5719-llvm-4d93adfed5e88b53907ae671788166107ad2cf28.tar.gz bcm5719-llvm-4d93adfed5e88b53907ae671788166107ad2cf28.zip |
[X86] Change XRSTOR to use PS instead of TB to match XSAVE.
I don't think this changes anything functionally yet, but I plan to fix the disassembler to use this to disable matching certain instructions with 0xf3/0xf2/0x66 prefixes.
llvm-svn: 316337
Diffstat (limited to 'llvm/lib/Target')
-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 2407ced9f9f..86b3f21018f 100644 --- a/llvm/lib/Target/X86/X86InstrSystem.td +++ b/llvm/lib/Target/X86/X86InstrSystem.td @@ -512,10 +512,10 @@ let Predicates = [HasXSAVE] in { [(int_x86_xsave64 addr:$dst, EDX, EAX)]>, PS, Requires<[In64BitMode]>; def XRSTOR : I<0xAE, MRM5m, (outs), (ins opaque512mem:$dst), "xrstor\t$dst", - [(int_x86_xrstor addr:$dst, EDX, EAX)]>, TB; + [(int_x86_xrstor addr:$dst, EDX, EAX)]>, PS; def XRSTOR64 : RI<0xAE, MRM5m, (outs), (ins opaque512mem:$dst), "xrstor64\t$dst", - [(int_x86_xrstor64 addr:$dst, EDX, EAX)]>, TB, Requires<[In64BitMode]>; + [(int_x86_xrstor64 addr:$dst, EDX, EAX)]>, PS, Requires<[In64BitMode]>; } let Predicates = [HasXSAVEOPT] in { def XSAVEOPT : I<0xAE, MRM6m, (outs), (ins opaque512mem:$dst), |