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
This commit is contained in:
parent
0435c1d5ef
commit
b301e9b3a4
2 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue