[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 9 10:18:42 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.td updated: 1.36 -> 1.37
---
Log message:
add ADDS and ADCS
---
Diffs of the changes: (+8 -0)
ARMInstrInfo.td | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/lib/Target/ARM/ARMInstrInfo.td
diff -u llvm/lib/Target/ARM/ARMInstrInfo.td:1.36 llvm/lib/Target/ARM/ARMInstrInfo.td:1.37
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.36 Sat Oct 7 09:24:52 2006
+++ llvm/lib/Target/ARM/ARMInstrInfo.td Mon Oct 9 12:18:28 2006
@@ -117,6 +117,14 @@
"add $dst, $a, $b",
[(set IntRegs:$dst, (add IntRegs:$a, addr_mode1:$b))]>;
+def ADCS : InstARM<(ops IntRegs:$dst, IntRegs:$a, op_addr_mode1:$b),
+ "adcs $dst, $a, $b",
+ [(set IntRegs:$dst, (adde IntRegs:$a, addr_mode1:$b))]>;
+
+def ADDS : InstARM<(ops IntRegs:$dst, IntRegs:$a, op_addr_mode1:$b),
+ "adds $dst, $a, $b",
+ [(set IntRegs:$dst, (addc IntRegs:$a, addr_mode1:$b))]>;
+
// "LEA" forms of add
def lea_addri : InstARM<(ops IntRegs:$dst, memri:$addr),
"add $dst, ${addr:arith}",
More information about the llvm-commits
mailing list