mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
[X86] Add register use/def for wrmsr and rdmsr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e15d286e83
commit
3e7edda4aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user