usage of standard_80387_constant_p.
(ix86_preferred_reload_class): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173775
138bc75d-0d04-0410-961f-
82ee72b054a4
2011-05-15 Uros Bizjak <ubizjak@gmail.com>
+ * config/i386/i386.md (floating point move splitters): Fix
+ usage of standard_80387_constant_p.
+ (ix86_preferred_reload_class): Ditto.
+
+2011-05-15 Uros Bizjak <ubizjak@gmail.com>
+
* config/i386/i386.md (*movdf_internal): Simplify insn condition.
2011-05-14 Eric Botcazou <ebotcazou@adacore.com>
zero above. We only want to wind up preferring 80387 registers if
we plan on doing computation with them. */
if (TARGET_80387
- && standard_80387_constant_p (x))
+ && standard_80387_constant_p (x) > 0)
{
/* Limit class to non-sse. */
if (regclass == FLOAT_SSE_REGS)
}
else if (FP_REG_P (r))
{
- if (!standard_80387_constant_p (c))
+ if (standard_80387_constant_p (c) < 1)
FAIL;
}
else if (MMX_REG_P (r))
}
else if (FP_REG_P (r))
{
- if (!standard_80387_constant_p (c))
+ if (standard_80387_constant_p (c) < 1)
FAIL;
}
else if (MMX_REG_P (r))