Commit 919ea6a5 by Torbjorn Granlund

(RTX_COSTS): Return actual costs for multiplication.

From-SVN: r6359
parent 6d55e0ab
......@@ -1331,12 +1331,7 @@ extern char *current_function_name;
case MULT: \
if (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT) \
return COSTS_N_INSNS (6); \
else if (GET_CODE (XEXP (X, 1)) != CONST_INT \
|| exact_log2 (INTVAL (XEXP (X, 1))) < 0) \
return COSTS_N_INSNS (21); \
else if (const48_operand (XEXP (X, 1), VOIDmode)) \
break; \
return COSTS_N_INSNS (2); \
return COSTS_N_INSNS (23); \
case ASHIFT: \
if (GET_CODE (XEXP (X, 1)) == CONST_INT \
&& INTVAL (XEXP (X, 1)) <= 3) \
......
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