From cc6ae6a1e66836e6f5aba7fd60954c7165dab886 Mon Sep 17 00:00:00 2001 From: Wolfgang Gellerich Date: Thu, 8 Apr 2010 11:45:34 +0000 Subject: [PATCH] s390.c (override_options): Adjust the z10 defaults for max-unroll-times... 2010-04-08 Wolfgang Gellerich * config/s390/s390.c (override_options): Adjust the z10 defaults for max-unroll-times, max-completely-peeled-insns and max-completely-peel-times. From-SVN: r158122 --- gcc/ChangeLog | 6 ++++++ gcc/config/s390/s390.c | 15 +++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f4ef744d0e..856656f51b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-04-08 Wolfgang Gellerich + + * config/s390/s390.c (override_options): Adjust the z10 + defaults for max-unroll-times, max-completely-peeled-insns + and max-completely-peel-times. + 2010-04-08 Andreas Krebbel * config/s390/s390.c (s390_expand_movmem): Issue prefetch diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 05ad9f2382e..e6cc4ba56a4 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -1636,12 +1636,19 @@ override_options (void) target_flags |= MASK_LONG_DOUBLE_128; #endif - if (s390_tune == PROCESSOR_2097_Z10 - && !PARAM_SET_P (PARAM_MAX_UNROLLED_INSNS)) - set_param_value ("max-unrolled-insns", 100); + if (s390_tune == PROCESSOR_2097_Z10) + { + if (!PARAM_SET_P (PARAM_MAX_UNROLLED_INSNS)) + set_param_value ("max-unrolled-insns", 100); + if (!PARAM_SET_P (PARAM_MAX_UNROLL_TIMES)) + set_param_value ("max-unroll-times", 32); + if (!PARAM_SET_P (PARAM_MAX_COMPLETELY_PEELED_INSNS)) + set_param_value ("max-completely-peeled-insns", 800); + if (!PARAM_SET_P (PARAM_MAX_COMPLETELY_PEEL_TIMES)) + set_param_value ("max-completely-peel-times", 64); + } set_param_value ("max-pending-list-length", 256); - } /* Map for smallest class containing reg regno. */ -- 2.30.2