Commit 3f5685dc by Richard Sandiford Committed by Richard Sandiford

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
parent 8870dee7
2012-08-26 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_rtx_costs): Add missing COSTS_N_INSNS
to the size cost of multiplication.
2012-08-26 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Specific): Clarify what needs to be added to
......
......@@ -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
......
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