From 0962c33d83e328593c8a76ee8a55de31e864b0d7 Mon Sep 17 00:00:00 2001 From: Falk Hueffner Date: Sat, 1 May 2004 14:21:51 +0200 Subject: [PATCH] * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs. From-SVN: r81386 --- gcc/ChangeLog | 4 ++++ gcc/config/alpha/alpha.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85f3b6c7106..d442d303fd5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-05-01 Falk Hueffner + + * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs. + 2004-05-01 Ulrich Weigand PR middle-end/15054 diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index dd306d520db..b1d1a54f20d 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -2156,7 +2156,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total) && const48_operand (XEXP (XEXP (x, 0), 1), VOIDmode)) { *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 false; -- 2.30.2