mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
Fix operands and encoding form for ARPL instruction. Register form had and reversed. Memory form writes memory, but was marked as MRMSrcMem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee5b63cb52
commit
e9fd6ad567
@ -1486,10 +1486,10 @@ def BOUNDS32rm : I<0x62, MRMSrcMem, (outs GR32:$dst), (ins i32mem:$src),
|
||||
Requires<[In32BitMode]>;
|
||||
|
||||
// Adjust RPL Field of Segment Selector
|
||||
def ARPL16rr : I<0x63, MRMDestReg, (outs GR16:$src), (ins GR16:$dst),
|
||||
def ARPL16rr : I<0x63, MRMDestReg, (outs GR16:$dst), (ins GR16:$src),
|
||||
"arpl\t{$src, $dst|$dst, $src}", [], IIC_ARPL_REG>,
|
||||
Requires<[In32BitMode]>;
|
||||
def ARPL16mr : I<0x63, MRMSrcMem, (outs GR16:$src), (ins i16mem:$dst),
|
||||
def ARPL16mr : I<0x63, MRMDestMem, (outs), (ins i16mem:$dst, GR16:$src),
|
||||
"arpl\t{$src, $dst|$dst, $src}", [], IIC_ARPL_MEM>,
|
||||
Requires<[In32BitMode]>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user