Commit 22cc69c4 by Roger Sayle Committed by Roger Sayle

i386.c (standard_80387_constant_p): Also prefer the x87's load constant…

i386.c (standard_80387_constant_p): Also prefer the x87's load constant instructions when optimizing for size.


	* config/i386/i386.c (standard_80387_constant_p): Also prefer
	the x87's load constant instructions when optimizing for size.

From-SVN: r78231
parent bee07d3f
2004-02-21 Roger Sayle <roger@eyesopen.com>
* config/i386/i386.c (standard_80387_constant_p): Also prefer
the x87's load constant instructions when optimizing for size.
2004-02-21 Kazu Hirata <kazu@cs.umass.edu>
* combine.c (SHIFT_COUNT_TRUNCATED): Remove.
......
......@@ -4333,10 +4333,10 @@ standard_80387_constant_p (rtx x)
if (x == CONST1_RTX (GET_MODE (x)))
return 2;
/* For XFmode constants, try to find a special 80387 instruction on
those CPUs that benefit from them. */
/* For XFmode constants, try to find a special 80387 instruction when
optimizing for size or on those CPUs that benefit from them. */
if (GET_MODE (x) == XFmode
&& x86_ext_80387_constants & TUNEMASK)
&& (optimize_size || x86_ext_80387_constants & TUNEMASK))
{
REAL_VALUE_TYPE r;
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment