From: Sean Callanan Date: Wed, 16 Sep 2009 02:57:13 +0000 (+0000) Subject: Added the ENTER instruction, which sets up a stack X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d70854dd8b3f2d7639abd569dbd5a205f602032;p=oota-llvm.git Added the ENTER instruction, which sets up a stack frame, to the Intel instruction tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81995 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index e310e646e7e..5d7b56934da 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -694,6 +694,11 @@ let isCall = 1 in "lcall{l}\t{*}$dst", []>; } +// Constructing a stack frame. + +def ENTER : I<0xC8, RawFrm, (outs), (ins i16imm:$len, i8imm:$lvl), + "enter\t$len, $lvl", []>; + // Tail call stuff. let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1 in