Commit 6c45cb0d by David S. Miller Committed by David S. Miller

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
parent 85d7d3b0
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment