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
This commit is contained in:
parent
4c6fd544cc
commit
521903292c
@ -1,3 +1,8 @@
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user