[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 23 13:34:44 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.td updated: 1.69 -> 1.70
---
Log message:
implement STRB and STRH
---
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.69 llvm/lib/Target/ARM/ARMInstrInfo.td:1.70
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.69 Thu Oct 19 12:05:03 2006
+++ llvm/lib/Target/ARM/ARMInstrInfo.td Mon Oct 23 15:34:26 2006
@@ -184,6 +184,14 @@
"str $src, $addr",
[(store IntRegs:$src, iaddr:$addr)]>;
+def STRB : InstARM<(ops IntRegs:$src, IntRegs:$addr),
+ "strb $src, [$addr]",
+ [(truncstorei8 IntRegs:$src, IntRegs:$addr)]>;
+
+def STRH : InstARM<(ops IntRegs:$src, IntRegs:$addr),
+ "strh $src, [$addr]",
+ [(truncstorei16 IntRegs:$src, IntRegs:$addr)]>;
+
def MOV : InstARM<(ops IntRegs:$dst, op_addr_mode1:$src),
"mov $dst, $src", [(set IntRegs:$dst, addr_mode1:$src)]>;
More information about the llvm-commits
mailing list