Commit e08eb33c by David S. Miller Committed by David S. Miller

sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL.

2004-07-20  David S. Miller  <davem@nuts.davemloft.net>

	* config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit
	enormous cost if not TARGET_HARD_MUL.

From-SVN: r84992
parent e70d4dfb
2004-07-20 David S. Miller <davem@nuts.davemloft.net>
* config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit
enormous cost if not TARGET_HARD_MUL.
2004-07-20 Andrew Pinski <apinski@apple.com>
PR target/16557
......
......@@ -8383,6 +8383,8 @@ sparc_rtx_costs (rtx x, int code, int outer_code, int *total)
case MULT:
if (float_mode_p)
*total = sparc_costs->float_mul;
else if (! TARGET_HARD_MUL)
return COSTS_N_INSNS (25);
else
{
int bit_cost;
......
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