diff options
author | falk <falk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-01 12:21:51 +0000 |
---|---|---|
committer | falk <falk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-01 12:21:51 +0000 |
commit | be8c6d9ccec1640aa1b7e55aeac8fd744509dc88 (patch) | |
tree | 4864555329bafe21f500443f1b9194f3232cd62f /gcc/config/alpha | |
parent | 79b865f2c6f17cff86d115744504bce50d255c61 (diff) | |
download | gcc-be8c6d9ccec1640aa1b7e55aeac8fd744509dc88.tar.gz |
* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81386 138bc75d-0d04-0410-961f-82ee72b054a4
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 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; |