Commit 68450062 by Richard Kenner

(mov[sd]f expands): Don't allow fp constants in pseudos when

TARGET_SOFT_FLOAT.

From-SVN: r9910
parent d8191d86
...@@ -2409,8 +2409,9 @@ ...@@ -2409,8 +2409,9 @@
"" ""
" "
if (GET_CODE (operands[1]) == CONST_DOUBLE if (GET_CODE (operands[1]) == CONST_DOUBLE
&& ((GET_CODE (operands[0]) == REG && (TARGET_SOFT_FLOAT
&& REGNO (operands[0]) < 16) || (GET_CODE (operands[0]) == REG
&& REGNO (operands[0]) < 16)
|| ! (const_double_rtx_ok_for_fpu (operands[1]) || ! (const_double_rtx_ok_for_fpu (operands[1])
|| neg_const_double_rtx_ok_for_fpu (operands[1])))) || neg_const_double_rtx_ok_for_fpu (operands[1]))))
{ {
...@@ -2476,8 +2477,9 @@ ...@@ -2476,8 +2477,9 @@
"" ""
" "
if (GET_CODE (operands[1]) == CONST_DOUBLE if (GET_CODE (operands[1]) == CONST_DOUBLE
&& ((GET_CODE (operands[0]) == REG && (TARGET_SOFT_FLOAT
&& REGNO (operands[0]) < 16) || (GET_CODE (operands[0]) == REG
&& REGNO (operands[0]) < 16)
|| ! (const_double_rtx_ok_for_fpu (operands[1]) || ! (const_double_rtx_ok_for_fpu (operands[1])
|| neg_const_double_rtx_ok_for_fpu (operands[1])))) || neg_const_double_rtx_ok_for_fpu (operands[1]))))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment