From: David S. Miller Date: Wed, 21 Jul 2004 01:46:13 +0000 (+0000) Subject: sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e08eb33cbcf2cb4cc402fc4def027bd9deb65928;p=gcc.git sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL. 2004-07-20 David S. Miller * config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit enormous cost if not TARGET_HARD_MUL. From-SVN: r84992 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4c20226263..03dc9314365 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-20 David S. Miller + + * config/sparc/sparc.c (sparc_rtx_costs case MULT): Emit + enormous cost if not TARGET_HARD_MUL. + 2004-07-20 Andrew Pinski PR target/16557 diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 1c560877990..97ef0542893 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -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;