mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 07:00:27 +08:00
i386.md (floating point move splitters): Fix usage of standard_80387_constant_p.
* config/i386/i386.md (floating point move splitters): Fix usage of standard_80387_constant_p. (ix86_preferred_reload_class): Ditto. From-SVN: r173775
This commit is contained in:
parent
4d4cf1444d
commit
dfb737fcca
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -28489,7 +28489,7 @@ ix86_preferred_reload_class (rtx x, reg_class_t regclass)
|
||||
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)
|
||||
|
@ -3315,7 +3315,7 @@
|
||||
}
|
||||
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))
|
||||
@ -3347,7 +3347,7 @@
|
||||
}
|
||||
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user