mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
implement PR8592: empirically "lretq" is a "lret" with a rex.w prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a29aae7aca
commit
6b5e3978e3
@ -29,6 +29,8 @@ let isTerminator = 1, isReturn = 1, isBarrier = 1,
|
||||
[(X86retflag timm:$amt)]>, OpSize;
|
||||
def LRET : I <0xCB, RawFrm, (outs), (ins),
|
||||
"lret", []>;
|
||||
def LRETQ : RI <0xCB, RawFrm, (outs), (ins),
|
||||
"lretq", []>;
|
||||
def LRETI : Ii16<0xCA, RawFrm, (outs), (ins i16imm:$amt),
|
||||
"lret\t$amt", []>;
|
||||
def LRETIW : Ii16<0xCA, RawFrm, (outs), (ins i16imm:$amt),
|
||||
|
@ -769,6 +769,10 @@ iretq
|
||||
// CHECK: encoding: [0x66,0xca,0xce,0x7a]
|
||||
lretw $0x7ace
|
||||
|
||||
// PR8592
|
||||
lretq // CHECK: lretq # encoding: [0x48,0xcb]
|
||||
lret // CHECK: lret # encoding: [0xcb]
|
||||
|
||||
// rdar://8403907
|
||||
sysret
|
||||
// CHECK: sysretl
|
||||
|
Loading…
Reference in New Issue
Block a user