From: Richard Earnshaw Date: Fri, 9 Jul 2004 10:05:59 +0000 (+0000) Subject: re PR target/12133 (Reload abort in simd-3.c) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f372c93230da93c39db21d3c7965946e4a61fb1c;p=gcc.git 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 --- 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);