[llvm-commits] [llvm] r74749 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Evan Cheng
evan.cheng at apple.com
Thu Jul 2 17:18:36 PDT 2009
Author: evancheng
Date: Thu Jul 2 19:18:36 2009
New Revision: 74749
URL: http://llvm.org/viewvc/llvm-project?rev=74749&view=rev
Log:
Add Thumb2 load / store multiple instructions. Not used yet.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=74749&r1=74748&r2=74749&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Thu Jul 2 19:18:36 2009
@@ -673,6 +673,21 @@
def t2PICSTRB : T2I_picst<"strb", BinOpFrag<(truncstorei8 node:$LHS, node:$RHS)>>;
} // isNotDuplicable = 1, AddedComplexity = 10
+
+//===----------------------------------------------------------------------===//
+// Load / store multiple Instructions.
+//
+
+let mayLoad = 1 in
+def t2LDM : T2XI<(outs),
+ (ins addrmode4:$addr, pred:$p, reglist:$dst1, variable_ops),
+ "ldm${p}${addr:submode} $addr, $dst1", []>;
+
+let mayStore = 1 in
+def t2STM : T2XI<(outs),
+ (ins addrmode4:$addr, pred:$p, reglist:$src1, variable_ops),
+ "stm${p}${addr:submode} $addr, $src1", []>;
+
//===----------------------------------------------------------------------===//
// Move Instructions.
//
More information about the llvm-commits
mailing list