From: Misha Brukman Date: Wed, 4 Dec 2002 23:56:26 +0000 (+0000) Subject: Added push and pop instructions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1f283ef3e5051354e5751850db03746c2fa8def1;p=oota-llvm.git Added push and pop instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4928 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.def b/lib/Target/X86/X86InstrInfo.def index 78867198174..2693ee68215 100644 --- a/lib/Target/X86/X86InstrInfo.def +++ b/lib/Target/X86/X86InstrInfo.def @@ -82,7 +82,8 @@ I(MOVrm16 , "movw", 0x89, 0, X86II::MRMDestMem | X86II::Void | 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