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:
parent
e70d4dfb0f
commit
e08eb33cbc
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user