Added far return instructions (that is, returns to

code in other segments) to the Intel instruction
tables.

llvm-svn: 81953
This commit is contained in:
Sean Callanan 2009-09-15 23:37:51 +00:00
parent 2251293788
commit f8f6479388
1 changed files with 4 additions and 0 deletions

View File

@ -566,6 +566,10 @@ let isTerminator = 1, isReturn = 1, isBarrier = 1,
def RETI : Ii16<0xC2, RawFrm, (outs), (ins i16imm:$amt, variable_ops),
"ret\t$amt",
[(X86retflag timm:$amt)]>;
def LRET : I <0xCB, RawFrm, (outs), (ins),
"lret", []>;
def LRETI : Ii16<0xCA, RawFrm, (outs), (ins i16imm:$amt),
"lret\t$amt", []>;
}
// All branches are RawFrm, Void, Branch, and Terminators