Skip to content
Snippets Groups Projects
Commit bffa8796 authored by dalej's avatar dalej
Browse files

2005-07-12 Dale Johannesen <dalej@apple.com>

        * config/rs6000.c (rs6000_rtx_cost):  Move FLOAT_EXTEND.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101946 138bc75d-0d04-0410-961f-82ee72b054a4
parent 1f658310
No related merge requests found
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))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment