rtlanal.c (rtx_cost): Assign cost of 0 to a SUBREG when modes are tieable.
2005-01-17 Mark Dettinger <dettinge@de.ibm.com> * rtlanal.c (rtx_cost): Assign cost of 0 to a SUBREG when modes are tieable. From-SVN: r93763
This commit is contained in:
parent
658acbb287
commit
edb8116590
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-17 Mark Dettinger <dettinge@de.ibm.com>
|
||||
|
||||
* rtlanal.c (rtx_cost): Assign cost of 0 to a SUBREG
|
||||
when modes are tieable.
|
||||
|
||||
2005-01-17 Ranjit Mathew <rmathew@hotmail.com>
|
||||
|
||||
* gthr-posix.h (__gthread_active_p): Use pthread_cancel instead
|
||||
|
|
|
@ -3270,6 +3270,7 @@ rtx_cost (rtx x, enum rtx_code outer_code ATTRIBUTE_UNUSED)
|
|||
return 0;
|
||||
|
||||
case SUBREG:
|
||||
total = 0;
|
||||
/* If we can't tie these modes, make this expensive. The larger
|
||||
the mode, the more expensive it is. */
|
||||
if (! MODES_TIEABLE_P (GET_MODE (x), GET_MODE (SUBREG_REG (x))))
|
||||
|
|
Loading…
Add table
Reference in a new issue