summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2009-09-15 23:37:51 +0000
committerSean Callanan <scallanan@apple.com>2009-09-15 23:37:51 +0000
commitf8f6479388116d309081f6d18ee7dd6e5fe5b40d (patch)
tree1c78253ef247b5daae2ee0784a22204ca732ec33 /llvm
parent2251293788b58e1e351c334e60e02cc5c9eb67f0 (diff)
downloadbcm5719-llvm-f8f6479388116d309081f6d18ee7dd6e5fe5b40d.tar.gz
bcm5719-llvm-f8f6479388116d309081f6d18ee7dd6e5fe5b40d.zip
Added far return instructions (that is, returns to
code in other segments) to the Intel instruction tables. llvm-svn: 81953
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index 66bfdcdb34a..d988406b637 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/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
OpenPOWER on IntegriCloud