S/390: Fix ira cost multiplier

* config/s390/s390.h (IRA_HARD_REGNO_ADD_COST_MULTIPLIER):
	Invert the condition.

From-SVN: r222144
This commit is contained in:
Andreas Krebbel 2015-04-16 11:29:28 +00:00 committed by Andreas Krebbel
parent 76978b21c6
commit dba0dd688d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-04-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.h (IRA_HARD_REGNO_ADD_COST_MULTIPLIER):
Invert the condition.
2015-04-16 Renlin Li <renlin.li@arm.com>
* simplify-rtx.c (simplify_unary_operation_1): Fix a typo. Enable two

View File

@ -477,7 +477,7 @@ enum reg_class
reload can decide not to use the hard register because some
constant was forced to be in memory. */
#define IRA_HARD_REGNO_ADD_COST_MULTIPLIER(regno) \
(regno == BASE_REGNUM ? 0.0 : 0.5)
(regno != BASE_REGNUM ? 0.0 : 0.5)
/* Register -> class mapping. */
extern const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER];