diff options
author | David S. Miller <davem@redhat.com> | 2002-05-10 11:58:00 -0700 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2002-05-10 11:58:00 -0700 |
commit | 6c45cb0da4af9804a455bc701cbe7a87eec98990 (patch) | |
tree | 772e88648044668b93689ee59be811586e4f8a75 /gcc/cse.c | |
parent | 85d7d3b09cb826d301fc60e31c0f6ec689fd2a08 (diff) | |
download | gcc-6c45cb0da4af9804a455bc701cbe7a87eec98990.zip gcc-6c45cb0da4af9804a455bc701cbe7a87eec98990.tar.gz gcc-6c45cb0da4af9804a455bc701cbe7a87eec98990.tar.bz2 |
cse.c (rtx_cost): Remove multiplication by power of 2 special casing.
2002-05-10 David S. Miller <davem@redhat.com>
* cse.c (rtx_cost): Remove multiplication by power of 2 special
casing.
From-SVN: r53369
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -842,13 +842,7 @@ rtx_cost (x, outer_code) switch (code) { case MULT: - /* Count multiplication by 2**n as a shift, - because if we are considering it, we would output it as a shift. */ - if (GET_CODE (XEXP (x, 1)) == CONST_INT - && exact_log2 (INTVAL (XEXP (x, 1))) >= 0) - total = 2; - else - total = COSTS_N_INSNS (5); + total = COSTS_N_INSNS (5); break; case DIV: case UDIV: |