Commit a02ab464 by H.J. Lu Committed by H.J. Lu

i386.c (ix86_reorg): Call optimize_function_for_speed_p only once.

2009-05-15  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_reorg): Call optimize_function_for_speed_p
	only once.

From-SVN: r147588
parent 796bda22
2009-05-15 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_reorg): Call optimize_function_for_speed_p
only once.
2009-05-15 Jan Hubicka <jh@suse.cz>
* doc/invoke.texi (max-early-inliner-iterations): New flag.
......
......@@ -27359,12 +27359,13 @@ ix86_pad_returns (void)
static void
ix86_reorg (void)
{
if (TARGET_PAD_RETURNS && optimize
&& optimize_function_for_speed_p (cfun))
ix86_pad_returns ();
if (TARGET_FOUR_JUMP_LIMIT && optimize
&& optimize_function_for_speed_p (cfun))
ix86_avoid_jump_misspredicts ();
if (optimize && optimize_function_for_speed_p (cfun))
{
if (TARGET_PAD_RETURNS)
ix86_pad_returns ();
if (TARGET_FOUR_JUMP_LIMIT)
ix86_avoid_jump_misspredicts ();
}
}
/* Return nonzero when QImode register that must be represented via REX prefix
......
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