[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td
Rafael Espindola
rafael.espindola at gmail.com
Thu Oct 19 05:45:18 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.td updated: 1.66 -> 1.67
---
Log message:
implement extloadi8 and extloadi16
---
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.66 llvm/lib/Target/ARM/ARMInstrInfo.td:1.67
--- llvm/lib/Target/ARM/ARMInstrInfo.td:1.66 Wed Oct 18 11:21:43 2006
+++ llvm/lib/Target/ARM/ARMInstrInfo.td Thu Oct 19 07:45:04 2006
@@ -160,6 +160,10 @@
"ldrb $dst, [$addr]",
[(set IntRegs:$dst, (zextloadi8 IntRegs:$addr))]>;
+def LDRB2 : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
+ "ldrb $dst, [$addr]",
+ [(set IntRegs:$dst, (extloadi8 IntRegs:$addr))]>;
+
def LDRSB : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
"ldrsb $dst, [$addr]",
[(set IntRegs:$dst, (sextloadi8 IntRegs:$addr))]>;
@@ -168,6 +172,10 @@
"ldrh $dst, [$addr]",
[(set IntRegs:$dst, (zextloadi16 IntRegs:$addr))]>;
+def LDRH2 : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
+ "ldrh $dst, [$addr]",
+ [(set IntRegs:$dst, (extloadi16 IntRegs:$addr))]>;
+
def LDRSH : InstARM<(ops IntRegs:$dst, IntRegs:$addr),
"ldrsh $dst, [$addr]",
[(set IntRegs:$dst, (sextloadi16 IntRegs:$addr))]>;
More information about the llvm-commits
mailing list