summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-12 21:07:56 +0000
committerdalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-12 21:07:56 +0000
commitbffa8796f60256c0b15810ce745b933bbca15129 (patch)
tree5e8a56a4f4df58476ff9639e934a7347373eec42 /gcc
parent1f658310dee741f1919e0aba191f0a848eee45ef (diff)
downloadlinaro-gcc-bffa8796f60256c0b15810ce745b933bbca15129.tar.gz
linaro-gcc-bffa8796f60256c0b15810ce745b933bbca15129.tar.bz2
linaro-gcc-bffa8796f60256c0b15810ce745b933bbca15129.zip
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
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 307a33408b3..f29aaf899c3 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 4cf8dd876e3..1527e85253d 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))
{