arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Soft-float need not imply FPA.
authorPaul Brook <paul@codesourcery.com>
Mon, 21 Jun 2004 13:32:09 +0000 (13:32 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Mon, 21 Jun 2004 13:32:09 +0000 (13:32 +0000)
* config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Soft-float need
not imply FPA.

From-SVN: r83434

gcc/ChangeLog
gcc/config/arm/arm.h

index 6fb2d9e450caa125ffe9102da880f48000f02237..a07710d455ee258ce3261d5140dd50e25573eed6 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-21  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Soft-float need
+       not imply FPA.
+
 2004-06-21  Roger Sayle  <roger@eyesopen.com>
 
        * fold-const.c (operand_equal_p): Pass flags in recursive calls for
index 9981ff03f567f762747d9a40a09f0bea9e76d8c2..21a5d60d8c1493b66f10284f0e8548d2995d38bf 100644 (file)
@@ -1382,14 +1382,13 @@ enum reg_class
          HOST_WIDE_INT val = INTVAL (XEXP (X, 1));                        \
          HOST_WIDE_INT low, high;                                         \
                                                                           \
-         if (MODE == DImode || (TARGET_SOFT_FLOAT && TARGET_FPA           \
-                                && MODE == DFmode))                       \
+         if (MODE == DImode || (MODE == DFmode && TARGET_SOFT_FLOAT))     \
            low = ((val & 0xf) ^ 0x8) - 0x8;                               \
          else if (TARGET_MAVERICK && TARGET_HARD_FLOAT)                   \
            /* Need to be careful, -256 is not a valid offset.  */         \
            low = val >= 0 ? (val & 0xff) : -((-val) & 0xff);              \
          else if (MODE == SImode                                          \
-                  || (MODE == SFmode && TARGET_SOFT_FLOAT && TARGET_FPA)  \
+                  || (MODE == SFmode && TARGET_SOFT_FLOAT)                \
                   || ((MODE == HImode || MODE == QImode) && ! arm_arch4)) \
            /* Need to be careful, -4096 is not a valid offset.  */        \
            low = val >= 0 ? (val & 0xfff) : -((-val) & 0xfff);            \