Commit 7893307b by Segher Boessenkool Committed by Segher Boessenkool

re PR rtl-optimization/30967 (Extra sign/zero extend with word comparison result)

	PR rtl-optimization/30967
	* config/rs6000/rs6000.c (rs6000_rtx_costs): Don't consider
	destination mode for the cost of scc patterns.

From-SVN: r223174
parent 1c08a677
2015-05-13 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/30967
* config/rs6000/rs6000.c (rs6000_rtx_costs): Don't consider
destination mode for the cost of scc patterns.
2015-05-13 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*mul<mode>3_1): Merge with *mulhi3_1
......
......@@ -30640,7 +30640,7 @@ rs6000_rtx_costs (rtx x, int code, int outer_code, int opno ATTRIBUTE_UNUSED,
*total = COSTS_N_INSNS (2);
return true;
}
else if (mode == Pmode)
else
{
*total = COSTS_N_INSNS (3);
return false;
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