Commit a2af5043 by Dale Johannesen Committed by Dale Johannesen

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
parent 298f1d10
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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment