diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2002-12-04 19:15:22 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2002-12-04 19:15:22 +0000 |
| commit | dfa9cfa67f6902ff6c1302deb7889bdb81273842 (patch) | |
| tree | f226b61e50fca4c90dba4e0c2b6792a689fc18e9 /llvm/lib | |
| parent | 2b210cf9497b72668a818a9776c67623b3ed2758 (diff) | |
| download | bcm5719-llvm-dfa9cfa67f6902ff6c1302deb7889bdb81273842.tar.gz bcm5719-llvm-dfa9cfa67f6902ff6c1302deb7889bdb81273842.zip | |
Added instructions to add/subtract imm32 to/from a reg32.
llvm-svn: 4921
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.def b/llvm/lib/Target/X86/X86InstrInfo.def index d976a770e3e..78867198174 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.def +++ b/llvm/lib/Target/X86/X86InstrInfo.def @@ -88,9 +88,11 @@ I(PUSHr32 , "pushl", 0x50, 0, X86II::AddRegFrm | X86II::Void, No I(ADDrr8 , "addb", 0x00, 0, X86II::MRMDestReg, NoImpRegs, NoImpRegs) // R8 += R8 I(ADDrr16 , "addw", 0x01, 0, X86II::MRMDestReg | X86II::OpSize, NoImpRegs, NoImpRegs) // R16 += R16 I(ADDrr32 , "addl", 0x01, 0, X86II::MRMDestReg, NoImpRegs, NoImpRegs) // R32 += R32 +I(ADDri32 , "add", 0x81, 0, X86II::MRMS0r, NoImpRegs, NoImpRegs) // R32 += imm32 I(SUBrr8 , "subb", 0x2A, 0, X86II::MRMDestReg, NoImpRegs, NoImpRegs) // R8 -= R8 I(SUBrr16 , "subw", 0x2B, 0, X86II::MRMDestReg | X86II::OpSize, NoImpRegs, NoImpRegs) // R16 -= R16 I(SUBrr32 , "subl", 0x2B, 0, X86II::MRMDestReg, NoImpRegs, NoImpRegs) // R32 -= R32 +I(SUBri32 , "sub", 0x81, 0, X86II::MRMS5r, NoImpRegs, NoImpRegs) // R32 -= imm32 I(MULrr8 , "mulb", 0xF6, 0, X86II::MRMS4r | X86II::Void, O_AL, O_AX) // AX = AL*R8 I(MULrr16 , "mulw", 0xF7, 0, X86II::MRMS4r | X86II::Void | // DX:AX= AX*R16 X86II::OpSize, O_AX, T_AXDX) |

