From: Richard Kenner Date: Thu, 8 Jun 1995 23:15:59 +0000 (-0400) Subject: (mov[sd]f expands): Don't allow fp constants in pseudos when X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68450062d996673ab34d09c9022947960cd85749;p=gcc.git (mov[sd]f expands): Don't allow fp constants in pseudos when TARGET_SOFT_FLOAT. From-SVN: r9910 --- diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 36d5f0697f6..379c8405ac4 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -2409,8 +2409,9 @@ "" " 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])))) { @@ -2476,8 +2477,9 @@ "" " 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])))) {