From: Dale Johannesen Date: Tue, 12 Jul 2005 21:07:56 +0000 (+0000) Subject: rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2af50436f16c10f22f55188f9e429633c2532ec;p=gcc.git rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. 2005-07-12 Dale Johannesen * config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. From-SVN: r101946 --- 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 + + * config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND. + 2005-07-12 Andrew Pinski 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)) {