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:
David S. Miller 2002-05-10 11:58:00 -07:00 committed by David S. Miller
parent 85d7d3b09c
commit 6c45cb0da4
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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: