[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td
Rafael Espindola
rafael.espindola at gmail.com
Mon Sep 11 12:24:33 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.td updated: 1.26 -> 1.27
---
Log message:
implement SRL and MUL
---
Diffs of the changes: (+9 -0)
ARMInstrInfo.td | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/lib/Target/ARM/ARMInstrInfo.td
diff -u llvm/lib/Target/ARM/ARMInstrInfo.td:1.26 llvm/lib/Target/ARM/ARMInstrInfo.td:1.27
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.26 Mon Sep 11 12:25:40 2006
+++ llvm/lib/Target/ARM/ARMInstrInfo.td Mon Sep 11 14:24:19 2006
@@ -129,6 +129,11 @@
"mov $dst, $a, asr $b",
[(set IntRegs:$dst, (sra IntRegs:$a, IntRegs:$b))]>;
+def SRL : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
+ "mov $dst, $a, lsr $b",
+ [(set IntRegs:$dst, (srl IntRegs:$a, IntRegs:$b))]>;
+
+
def EOR : InstARM<(ops IntRegs:$dst, IntRegs:$a, op_addr_mode1:$b),
"eor $dst, $a, $b",
[(set IntRegs:$dst, (xor IntRegs:$a, addr_mode1:$b))]>;
@@ -145,6 +150,10 @@
IntRegs:$false, imm:$cc))]>;
}
+def MUL : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
+ "mul $dst, $a, $b",
+ [(set IntRegs:$dst, (mul IntRegs:$a, IntRegs:$b))]>;
+
def bcond : InstARM<(ops brtarget:$dst, CCOp:$cc),
"b$cc $dst",
[(armbr bb:$dst, imm:$cc)]>;
More information about the llvm-commits
mailing list