mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 06:56:50 +08:00
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
This commit is contained in:
parent
85d7d3b09c
commit
6c45cb0da4
@ -1,3 +1,8 @@
|
||||
2002-05-10 David S. Miller <davem@redhat.com>
|
||||
|
||||
* cse.c (rtx_cost): Remove multiplication by power of 2 special
|
||||
casing.
|
||||
|
||||
2002-05-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* config/mips/t-iris6 (SHLIB_SLIBDIR_SUFFIXES): Use mabi=64 and
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user