re PR target/12133 (Reload abort in simd-3.c)
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 9 Jul 2004 10:05:59 +0000 (10:05 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 9 Jul 2004 10:05:59 +0000 (10:05 +0000)
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
gcc/config/arm/arm.c

index 079dc6b9bf43dd5f381dbdc714ef7ba0265803f2..9c5fb779dceb9abe648aaff30b216ec1d2ead920 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-09  Richard Earnshaw  <rearnsha@arm.com>
+
+       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  <rth@redhat.com>
 
        * config/sparc/sparc-protos.h (sparc_va_arg): Remove.
index 9c373cffc316c23824653696df6916b4a841ffad..8da8881afe6467ee72b5c3f6f9db89b1e1862c42 100644 (file)
@@ -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);