aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2005-07-12 21:07:56 +0000
committerDale Johannesen <dalej@gcc.gnu.org>2005-07-12 21:07:56 +0000
commita2af50436f16c10f22f55188f9e429633c2532ec (patch)
tree5e8a56a4f4df58476ff9639e934a7347373eec42 /gcc
parent298f1d10c16adf0b3452af3291efc63913fbc6aa (diff)
downloadgcc-a2af50436f16c10f22f55188f9e429633c2532ec.zip
gcc-a2af50436f16c10f22f55188f9e429633c2532ec.tar.gz
gcc-a2af50436f16c10f22f55188f9e429633c2532ec.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000.c14
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 307a334..f29aaf8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 4cf8dd8..1527e85 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -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))
{