From 25e2b59ec6184a6824d6aa18514d5d2baa6bf848 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 27 Aug 2009 14:14:21 +0000 Subject: [PATCH] STRD and LDRD require ARMv5TE, not just ARMv5T. See http://llvm.org/PR4687 for more info and links. llvm-svn: 80244 --- lib/Target/ARM/ARMInstrInfo.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 21b42885d29..2acee58ac41 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -767,7 +767,7 @@ let mayLoad = 1 in { // Load doubleword def LDRD : AI3ldd<(outs GPR:$dst1, GPR:$dst2), (ins addrmode3:$addr), LdMiscFrm, IIC_iLoadr, "ldr", "d $dst1, $addr", - []>, Requires<[IsARM, HasV5T]>; + []>, Requires<[IsARM, HasV5TE]>; // Indexed loads def LDR_PRE : AI2ldwpr<(outs GPR:$dst, GPR:$base_wb), @@ -829,7 +829,7 @@ def STRB : AI2stb<(outs), (ins GPR:$src, addrmode2:$addr), StFrm, IIC_iStorer, let mayStore = 1 in def STRD : AI3std<(outs), (ins GPR:$src1, GPR:$src2, addrmode3:$addr), StMiscFrm, IIC_iStorer, - "str", "d $src1, $addr", []>, Requires<[IsARM, HasV5T]>; + "str", "d $src1, $addr", []>, Requires<[IsARM, HasV5TE]>; // Indexed stores def STR_PRE : AI2stwpr<(outs GPR:$base_wb),