* config/i386/i386.c (ix86_address_cost): Do not consider more complex
addressing modes cheaper.
From-SVN: r126360
+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.
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))