From: Andreas Krebbel Date: Thu, 16 Apr 2015 11:29:28 +0000 (+0000) Subject: S/390: Fix ira cost multiplier X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dba0dd688d09f1c387e08f78103abb69587ceec4;p=gcc.git S/390: Fix ira cost multiplier * config/s390/s390.h (IRA_HARD_REGNO_ADD_COST_MULTIPLIER): Invert the condition. From-SVN: r222144 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 392f679614c..9cd172753cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-04-16 Andreas Krebbel + + * config/s390/s390.h (IRA_HARD_REGNO_ADD_COST_MULTIPLIER): + Invert the condition. + 2015-04-16 Renlin Li * simplify-rtx.c (simplify_unary_operation_1): Fix a typo. Enable two diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index 286da8f4aa8..49530757134 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -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];