* rs6000.md (movsf): Do not force easy FP constants into memory.
From-SVN: r28075
This commit is contained in:
parent
7f401c745e
commit
22e228e761
|
@ -1,5 +1,7 @@
|
|||
Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* rs6000.md (movsf): Do not force easy FP constants into memory.
|
||||
|
||||
* expr.c (expand_expr, case PLUS_EXPR): Pass constants through
|
||||
immed_double_const to ensure they are properly truncated then
|
||||
sign extended.
|
||||
|
|
|
@ -6145,7 +6145,8 @@
|
|||
operands[1] = force_reg (SFmode, operands[1]);
|
||||
}
|
||||
|
||||
if (CONSTANT_P (operands[1]) && TARGET_HARD_FLOAT)
|
||||
if (CONSTANT_P (operands[1]) && TARGET_HARD_FLOAT
|
||||
&& ! easy_fp_constant (operands[1], SFmode))
|
||||
{
|
||||
operands[1] = force_const_mem (SFmode, operands[1]);
|
||||
if (! memory_address_p (SFmode, XEXP (operands[1], 0))
|
||||
|
|
Loading…
Reference in New Issue