diff options
author | Falk Hueffner <falk@debian.org> | 2004-05-01 14:21:51 +0200 |
---|---|---|
committer | Falk Hueffner <falk@gcc.gnu.org> | 2004-05-01 14:21:51 +0200 |
commit | 0962c33d83e328593c8a76ee8a55de31e864b0d7 (patch) | |
tree | 4864555329bafe21f500443f1b9194f3232cd62f /gcc/config/alpha | |
parent | e2655d15d9a2ae54844cd1adcba26dde3ba69cb9 (diff) | |
download | gcc-0962c33d83e328593c8a76ee8a55de31e864b0d7.zip gcc-0962c33d83e328593c8a76ee8a55de31e864b0d7.tar.gz gcc-0962c33d83e328593c8a76ee8a55de31e864b0d7.tar.bz2 |
* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
From-SVN: r81386
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r-- | gcc/config/alpha/alpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index dd306d5..b1d1a54 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; |