[llvm-commits] [llvm] r81995 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td

Sean Callanan scallanan at apple.com
Tue Sep 15 19:57:14 PDT 2009


Author: spyffe
Date: Tue Sep 15 21:57:13 2009
New Revision: 81995

URL: http://llvm.org/viewvc/llvm-project?rev=81995&view=rev
Log:
Added the ENTER instruction, which sets up a stack
frame, to the Intel instruction tables.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrInfo.td

Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=81995&r1=81994&r2=81995&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Tue Sep 15 21:57:13 2009
@@ -694,6 +694,11 @@
                         "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





More information about the llvm-commits mailing list