Commit 52190329 by Roger Sayle Committed by Roger Sayle

rs6000.c (rs6000_rtx_costs): Handle subtractions identically to additions,…

rs6000.c (rs6000_rtx_costs): Handle subtractions identically to additions, always COSTS_N_INSNS (1).


	* config/rs6000/rs6000.c (rs6000_rtx_costs) <MINUS_EXPR>: Handle
	subtractions identically to additions, always COSTS_N_INSNS (1).

From-SVN: r83906
parent 4c6fd544
2004-06-30 Roger Sayle <roger@eyesopen.com>
* config/rs6000/rs6000.c (rs6000_rtx_costs) <MINUS_EXPR>: Handle
subtractions identically to additions, always COSTS_N_INSNS (1).
2004-06-30 J"orn Rennecke <joern.rennecke@superh.com>
* expmed.c (expand_smod_pow2): Fix sign of mask.
......
......@@ -16169,6 +16169,10 @@ rs6000_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED,
: COSTS_N_INSNS (1));
return true;
case MINUS:
*total = COSTS_N_INSNS (1);
return true;
case AND:
case IOR:
case XOR:
......
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