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
This commit is contained in:
David S. Miller 2004-07-21 01:46:13 +00:00 committed by David S. Miller
parent e70d4dfb0f
commit e08eb33cbc
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

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