projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e15d286
)
[X86] Add register use/def for wrmsr and rdmsr.
author
Craig Topper
<craig.topper@gmail.com>
Sat, 7 Feb 2015 23:36:51 +0000
(23:36 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 7 Feb 2015 23:36:51 +0000
(23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228515
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrSystem.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrSystem.td
b/lib/Target/X86/X86InstrSystem.td
index c2b593ac70b0c7d7f1f9e450f0179f5bca3717c4..0350566f8b9b6048e23a0cd22008d828d2336cfe 100644
(file)
--- a/
lib/Target/X86/X86InstrSystem.td
+++ b/
lib/Target/X86/X86InstrSystem.td
@@
-438,7
+438,9
@@
def LLDT16m : I<0x00, MRM2m, (outs), (ins i16mem:$src),
//===----------------------------------------------------------------------===//
// Specialized register support
let SchedRW = [WriteSystem] in {
+let Uses = [EAX, ECX, EDX] in
def WRMSR : I<0x30, RawFrm, (outs), (ins), "wrmsr", [], IIC_WRMSR>, TB;
+let Defs = [EAX, EDX], Uses = [ECX] in
def RDMSR : I<0x32, RawFrm, (outs), (ins), "rdmsr", [], IIC_RDMSR>, TB;
let Defs = [RAX, RDX], Uses = [ECX] in