[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 16 12:20:02 PST 2004
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.td updated: 1.23 -> 1.24
---
Log message:
Add some ADD instructions that take memory operands for Alkis
---
Diffs of the changes: (+7 -0)
Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.23 llvm/lib/Target/X86/X86InstrInfo.td:1.24
--- llvm/lib/Target/X86/X86InstrInfo.td:1.23 Sat Feb 14 15:06:02 2004
+++ llvm/lib/Target/X86/X86InstrInfo.td Mon Feb 16 12:19:31 2004
@@ -272,6 +272,13 @@
def ADDri16b : I2A8 <"add", 0x83, MRMS0r >, OpSize; // ADDri with sign extended 8 bit imm
def ADDri32b : I2A8 <"add", 0x83, MRMS0r >;
+def ADDmr8 : I2A8 <"add", 0x00, MRMDestMem>; // [mem] += R8
+def ADDmr16 : I2A16<"add", 0x01, MRMDestMem>, OpSize; // [mem] += R16
+def ADDmr32 : I2A32<"add", 0x01, MRMDestMem>; // [mem] += R32
+def ADDrm8 : I2A8 <"add", 0x02, MRMSrcMem >; // R8 += [mem]
+def ADDrm16 : I2A16<"add", 0x03, MRMSrcMem >, OpSize; // R16 += [mem]
+def ADDrm32 : I2A32<"add", 0x03, MRMSrcMem >; // R32 += [mem]
+
def ADCrr32 : I2A32<"adc", 0x11, MRMDestReg>; // R32 += imm32+Carry
def SUBrr8 : I2A8 <"sub", 0x28, MRMDestReg>, Pattern<(set R8 , (minus R8 , R8 ))>;
More information about the llvm-commits
mailing list