From f372c93230da93c39db21d3c7965946e4a61fb1c Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Fri, 9 Jul 2004 10:05:59 +0000 Subject: [PATCH] re PR target/12133 (Reload abort in simd-3.c) PR target/12133 * arm.c (arm_legitimate_index_p) Allow DFmode for soft-float and DImode to use +/-4k offset. From-SVN: r84357 --- gcc/ChangeLog | 6 ++++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 079dc6b9bf4..9c5fb779dce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-07-09 Richard Earnshaw + + PR target/12133 + * arm.c (arm_legitimate_index_p) Allow DFmode for soft-float + and DImode to use +/-4k offset. + 2004-07-09 Richard Henderson * config/sparc/sparc-protos.h (sparc_va_arg): Remove. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 9c373cffc31..8da8881afe6 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3110,7 +3110,7 @@ arm_legitimate_index_p (enum machine_mode mode, rtx index, RTX_CODE outer, if (TARGET_LDRD) return val > -256 && val < 256; else - return val == 4 || val == -4 || val == -8; + return val > -4096 && val < 4092; } return TARGET_LDRD && arm_address_register_rtx_p (index, strict_p); -- 2.30.2