diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-08-26 19:17:33 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-08-26 19:17:33 +0000 |
commit | 3f5685dc35e4fea18c19eb5c32337c3020f323fe (patch) | |
tree | c1b424bcf36d5b9dd182202d5aebf7c096ea1a6f /gcc/config/mips | |
parent | 8870dee7f0d6173b0d0849b7223879bfa02fa77f (diff) | |
download | gcc-3f5685dc35e4fea18c19eb5c32337c3020f323fe.zip gcc-3f5685dc35e4fea18c19eb5c32337c3020f323fe.tar.gz gcc-3f5685dc35e4fea18c19eb5c32337c3020f323fe.tar.bz2 |
mips.c (mips_rtx_costs): Add missing COSTS_N_INSNS to the size cost of multiplication.
gcc/
* config/mips/mips.c (mips_rtx_costs): Add missing COSTS_N_INSNS
to the size cost of multiplication.
From-SVN: r190698
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index dc9f9cf..b8210de 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -3825,7 +3825,7 @@ mips_rtx_costs (rtx x, int code, int outer_code, int opno ATTRIBUTE_UNUSED, ? mips_cost->int_mult_si * 3 + 6 : COSTS_N_INSNS (ISA_HAS_MUL3 ? 7 : 9)); else if (!speed) - *total = (ISA_HAS_MUL3 ? 1 : 2); + *total = COSTS_N_INSNS (ISA_HAS_MUL3 ? 1 : 2); else if (mode == DImode) *total = mips_cost->int_mult_di; else |