From 8cd85a0ab5def8f05b6c3e87d8cfba6318b6bcea Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 12 Jul 1999 16:42:19 -0600 Subject: [PATCH] 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 --- gcc/config/rs6000/rs6000.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.47.2