From: Jeff Law Date: Mon, 12 Jul 1999 22:42:19 +0000 (-0600) Subject: rs6000.md (movsf): Do not force easy FP constants into memory. X-Git-Tag: prereleases/gcc-2.95-test~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd85a0ab5def8f05b6c3e87d8cfba6318b6bcea;p=thirdparty%2Fgcc.git rs6000.md (movsf): Do not force easy FP constants into memory. X * rs6000.md (movsf): Do not force easy FP constants into memory. From-SVN: r28074 --- diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 10f2c0847911..7a97dd1f78f0 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -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))