(mov[sd]f expands): Don't allow fp constants in pseudos when
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 8 Jun 1995 23:15:59 +0000 (19:15 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 8 Jun 1995 23:15:59 +0000 (19:15 -0400)
TARGET_SOFT_FLOAT.

From-SVN: r9910

gcc/config/arm/arm.md

index 36d5f0697f655ff1c7e5a314fe98c30fbe4ca825..379c8405ac4ad37d25b21ac2aa7afbb12b2c13d6 100644 (file)
   ""
   "
   if (GET_CODE (operands[1]) == CONST_DOUBLE
-      && ((GET_CODE (operands[0]) == REG
-          && REGNO (operands[0]) < 16)
+      && (TARGET_SOFT_FLOAT
+         || (GET_CODE (operands[0]) == REG
+             && REGNO (operands[0]) < 16)
          || ! (const_double_rtx_ok_for_fpu (operands[1])
                || neg_const_double_rtx_ok_for_fpu (operands[1]))))
     {
   ""
   "
   if (GET_CODE (operands[1]) == CONST_DOUBLE
-      && ((GET_CODE (operands[0]) == REG
-          && REGNO (operands[0]) < 16)
+      && (TARGET_SOFT_FLOAT
+         || (GET_CODE (operands[0]) == REG
+             && REGNO (operands[0]) < 16)
          || ! (const_double_rtx_ok_for_fpu (operands[1])
                || neg_const_double_rtx_ok_for_fpu (operands[1]))))
     {