Add support for the 'pop' instruction
authorChris Lattner <sabre@nondot.org>
Sat, 14 Feb 2004 21:06:02 +0000 (21:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Feb 2004 21:06:02 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11451 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 07cf94173ab546b9bad941851351d3167b43accd..0919626bb06545f301723d14e447d0510d106356 100644 (file)
@@ -161,7 +161,8 @@ let isCall = 1 in
 //===----------------------------------------------------------------------===//
 //  Miscellaneous Instructions...
 //
-def LEAVE    : X86Inst<"leave", 0xC9, RawFrm, NoArg>, Imp<[EBP], [EBP]>;
+def LEAVE    : X86Inst<"leave", 0xC9, RawFrm, NoArg>, Imp<[EBP,ESP],[EBP,ESP]>;
+def POPr32   : X86Inst<"pop",   0x58, AddRegFrm, Arg32>, Imp<[ESP],[ESP]>;
 
 let isTwoAddress = 1 in                                      // R32 = bswap R32
   def BSWAPr32 : X86Inst<"bswap", 0xC8, AddRegFrm, Arg32>, TB;