[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.def

Misha Brukman brukman at cs.uiuc.edu
Wed Dec 4 17:57:04 PST 2002


Changes in directory llvm/lib/Target/X86:

X86InstrInfo.def updated: 1.32 -> 1.33

---
Log message:

Added push and pop instructions.


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86InstrInfo.def
diff -u llvm/lib/Target/X86/X86InstrInfo.def:1.32 llvm/lib/Target/X86/X86InstrInfo.def:1.33
--- llvm/lib/Target/X86/X86InstrInfo.def:1.32	Wed Dec  4 13:15:22 2002
+++ llvm/lib/Target/X86/X86InstrInfo.def	Wed Dec  4 17:56:26 2002
@@ -82,7 +82,8 @@
                                               X86II::OpSize, NoImpRegs, NoImpRegs)
 I(MOVrm32     , "movl",  0x89,             0, X86II::MRMDestMem | X86II::Void, NoImpRegs, NoImpRegs)   // [mem] = R32
 
-I(PUSHr32     , "pushl", 0x50,             0, X86II::AddRegFrm | X86II::Void, NoImpRegs, NoImpRegs)
+I(PUSHr32     , "pushl", 0x50,             0, X86II::AddRegFrm | X86II::Void, NoImpRegs, NoImpRegs)    
+I(POPr32      , "popl",  0x58,             0, X86II::AddRegFrm, NoImpRegs, NoImpRegs)
 
 // Arithmetic instructions
 I(ADDrr8      , "addb",  0x00,             0, X86II::MRMDestReg, NoImpRegs, NoImpRegs)                 // R8  += R8





More information about the llvm-commits mailing list