[llvm-commits] [llvm] r92785 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Johnny Chen
johnny.chen at apple.com
Tue Jan 5 13:51:47 PST 2010
Author: johnny
Date: Tue Jan 5 15:51:46 2010
New Revision: 92785
URL: http://llvm.org/viewvc/llvm-project?rev=92785&view=rev
Log:
Add Rt2 to the asm format string for 32-bit Thumb load/store register dual
instructions. Thumb does not have the restriction that t2 = t+1.
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=92785&r1=92784&r2=92785&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Tue Jan 5 15:51:46 2010
@@ -818,10 +818,10 @@
// Load doubleword
def t2LDRDi8 : T2Ii8s4<1, 0, 1, (outs GPR:$dst1, GPR:$dst2),
(ins t2addrmode_imm8s4:$addr),
- IIC_iLoadi, "ldrd", "\t$dst1, $addr", []>;
+ IIC_iLoadi, "ldrd", "\t$dst1, $dst2, $addr", []>;
def t2LDRDpci : T2Ii8s4<?, ?, 1, (outs GPR:$dst1, GPR:$dst2),
(ins i32imm:$addr), IIC_iLoadi,
- "ldrd", "\t$dst1, $addr", []> {
+ "ldrd", "\t$dst1, $dst2, $addr", []> {
let Inst{19-16} = 0b1111; // Rn
}
}
@@ -934,7 +934,7 @@
let mayLoad = 1, hasExtraSrcRegAllocReq = 1 in
def t2STRDi8 : T2Ii8s4<1, 0, 0, (outs),
(ins GPR:$src1, GPR:$src2, t2addrmode_imm8s4:$addr),
- IIC_iStorer, "strd", "\t$src1, $addr", []>;
+ IIC_iStorer, "strd", "\t$src1, $src2, $addr", []>;
// Indexed stores
def t2STR_PRE : T2Iidxldst<0, 0b10, 0, 1, (outs GPR:$base_wb),
More information about the llvm-commits
mailing list