Commit 0962c33d by Falk Hueffner Committed by Falk Hueffner

* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.

From-SVN: r81386
parent e2655d15
2004-05-01 Falk Hueffner <falk@debian.org>
* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
2004-05-01 Ulrich Weigand <uweigand@de.ibm.com> 2004-05-01 Ulrich Weigand <uweigand@de.ibm.com>
PR middle-end/15054 PR middle-end/15054
......
...@@ -2156,7 +2156,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total) ...@@ -2156,7 +2156,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total)
&& const48_operand (XEXP (XEXP (x, 0), 1), VOIDmode)) && const48_operand (XEXP (XEXP (x, 0), 1), VOIDmode))
{ {
*total = (rtx_cost (XEXP (XEXP (x, 0), 0), outer_code) *total = (rtx_cost (XEXP (XEXP (x, 0), 0), outer_code)
+ rtx_cost (XEXP (x, 1), outer_code) + 2); + rtx_cost (XEXP (x, 1), outer_code) + COSTS_N_INSNS (1));
return true; return true;
} }
return false; return false;
......
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