Commit dba0dd68 by Andreas Krebbel Committed by Andreas Krebbel

S/390: Fix ira cost multiplier

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

From-SVN: r222144
parent 76978b21
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> 2015-04-16 Renlin Li <renlin.li@arm.com>
* simplify-rtx.c (simplify_unary_operation_1): Fix a typo. Enable two * simplify-rtx.c (simplify_unary_operation_1): Fix a typo. Enable two
......
...@@ -477,7 +477,7 @@ enum reg_class ...@@ -477,7 +477,7 @@ enum reg_class
reload can decide not to use the hard register because some reload can decide not to use the hard register because some
constant was forced to be in memory. */ constant was forced to be in memory. */
#define IRA_HARD_REGNO_ADD_COST_MULTIPLIER(regno) \ #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. */ /* Register -> class mapping. */
extern const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER]; extern const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER];
......
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