rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND.
2005-07-12 Dale Johannesen <dalej@apple.com> * config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. From-SVN: r101946
This commit is contained in:
parent
298f1d10c1
commit
a2af50436f
@ -1,3 +1,7 @@
|
||||
2005-07-12 Dale Johannesen <dalej@apple.com>
|
||||
|
||||
* config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND.
|
||||
|
||||
2005-07-12 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR bootstrap/21704
|
||||
|
@ -18043,13 +18043,6 @@ rs6000_rtx_costs (rtx x, int code, int outer_code, int *total)
|
||||
}
|
||||
/* FALLTHRU */
|
||||
|
||||
case FLOAT_EXTEND:
|
||||
if (mode == DFmode)
|
||||
*total = 0;
|
||||
else
|
||||
*total = rs6000_cost->fp;
|
||||
return false;
|
||||
|
||||
case FLOAT:
|
||||
case UNSIGNED_FLOAT:
|
||||
case FIX:
|
||||
@ -18058,6 +18051,13 @@ rs6000_rtx_costs (rtx x, int code, int outer_code, int *total)
|
||||
*total = rs6000_cost->fp;
|
||||
return false;
|
||||
|
||||
case FLOAT_EXTEND:
|
||||
if (mode == DFmode)
|
||||
*total = 0;
|
||||
else
|
||||
*total = rs6000_cost->fp;
|
||||
return false;
|
||||
|
||||
case UNSPEC:
|
||||
switch (XINT (x, 1))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user