projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f1380
)
add 'ret imm' instruction
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 17:56:48 +0000
(17:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 17:56:48 +0000
(17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21945
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 e956575efdaa3c5b3b4ce8b2b994870217a106e6..64dc14c169604e74615b76d501d0c7caa9fd6aad 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.td
+++ b/
lib/Target/X86/X86InstrInfo.td
@@
-152,9
+152,11
@@
let isTerminator = 1 in
// Control Flow Instructions...
//
-// Return instruction
..
.
+// Return instruction
s
.
let isTerminator = 1, isReturn = 1, isBarrier = 1 in
def RET : I<0xC3, RawFrm, (ops), "ret">;
+let isTerminator = 1, isReturn = 1, isBarrier = 1 in
+ def RETI : Ii16<0xC2, RawFrm, (ops i16imm:$amt), "ret $amt">;
// All branches are RawFrm, Void, Branch, and Terminators
let isBranch = 1, isTerminator = 1 in