This patch adapts some scheduling-related parameters. --- gcc/config/s390/s390.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 78a707267e8..901807e7833 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -358,12 +358,12 @@ static int fpd_longrunning[NUM_SIDES]; in use for MAX_SCHED_MIX_DISTANCE steps. Increase this value to give instruction mix scheduling more priority over instruction grouping. */ -#define MAX_SCHED_MIX_SCORE 8 +#define MAX_SCHED_MIX_SCORE 2 /* The maximum distance up to which individual scores will be calculated. Everything beyond this gives MAX_SCHED_MIX_SCORE. Increase this with the OOO windows size of the machine. */ -#define MAX_SCHED_MIX_DISTANCE 100 +#define MAX_SCHED_MIX_DISTANCE 70 /* Structure used to hold the components of a S/390 memory address. A legitimate address on S/390 is of the general @@ -14238,7 +14238,7 @@ s390_z10_prevent_earlyload_conflicts (rtx_insn **ready, int *nready_p) } /* Returns TRUE if BB is entered via a fallthru edge and all other - incoming edges are less than unlikely. */ + incoming edges are less than likely. */ static bool s390_bb_fallthru_entry_likely (basic_block bb) { @@ -14254,7 +14254,7 @@ s390_bb_fallthru_entry_likely (basic_block bb) FOR_EACH_EDGE (e, ei, bb->preds) if (e != fallthru_edge - && e->probability >= profile_probability::unlikely ()) + && e->probability >= profile_probability::likely ()) return false; return true; @@ -14390,7 +14390,7 @@ s390_sched_score (rtx_insn *insn) score += 5; if ((mask & S390_SCHED_ATTR_MASK_GROUPALONE) != 0) score += 10; - /* fallthrough */ + break; case 1: /* Prefer not cracked insns while trying to put together a group. */ -- 2.17.0