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:
Dale Johannesen 2005-07-12 21:07:56 +00:00 committed by Dale Johannesen
parent 298f1d10c1
commit a2af50436f
2 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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))
{