Commit b301e9b3 by Zdenek Dvorak Committed by Zdenek Dvorak

i386.c (ix86_address_cost): Do not consider more complex addressing modes cheaper.

	* config/i386/i386.c (ix86_address_cost): Do not consider more complex
	addressing modes cheaper.

From-SVN: r126360
parent 0435c1d5
2007-07-05 Zdenek Dvorak <dvorakz@suse.cz>
* config/i386/i386.c (ix86_address_cost): Do not consider more complex
addressing modes cheaper.
2007-07-05 Alexandre Oliva <aoliva@redhat.com>
* dwarf2out.c (dw_ranges_by_label_ref): New typedef.
......
......@@ -6564,12 +6564,6 @@ ix86_address_cost (rtx x)
if (parts.index && GET_CODE (parts.index) == SUBREG)
parts.index = SUBREG_REG (parts.index);
/* More complex memory references are better. */
if (parts.disp && parts.disp != const0_rtx)
cost--;
if (parts.seg != SEG_DEFAULT)
cost--;
/* Attempt to minimize number of registers in the address. */
if ((parts.base
&& (!REG_P (parts.base) || REGNO (parts.base) >= FIRST_PSEUDO_REGISTER))
......
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