OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd1e50
)
Added far return instructions (that is, returns to
author
Sean Callanan
<scallanan@apple.com>
Tue, 15 Sep 2009 23:37:51 +0000
(23:37 +0000)
committer
Sean Callanan
<scallanan@apple.com>
Tue, 15 Sep 2009 23:37:51 +0000
(23:37 +0000)
code in other segments) to the Intel instruction
tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81953
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.td
b/lib/Target/X86/X86InstrInfo.td
index
66bfdcd
..
d988406
100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.td
+++ b/
lib/Target/X86/X86InstrInfo.td
@@
-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