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);