aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Gellerich <gellerich@de.ibm.com>2010-04-08 11:45:34 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2010-04-08 11:45:34 +0000
commitcc6ae6a1e66836e6f5aba7fd60954c7165dab886 (patch)
tree6d2f8ca8d8125f91a003a74a2e17d5e50798e8d4
parentadfa3cd32b6176686ad4c940a9d3ef1e4d5f77f8 (diff)
downloadgcc-cc6ae6a1e66836e6f5aba7fd60954c7165dab886.zip
gcc-cc6ae6a1e66836e6f5aba7fd60954c7165dab886.tar.gz
gcc-cc6ae6a1e66836e6f5aba7fd60954c7165dab886.tar.bz2
s390.c (override_options): Adjust the z10 defaults for max-unroll-times...
2010-04-08 Wolfgang Gellerich <gellerich@de.ibm.com> * 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/s390/s390.c15
2 files changed, 17 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f4ef74..856656f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-08 Wolfgang Gellerich <gellerich@de.ibm.com>
+
+ * 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 <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_expand_movmem): Issue prefetch
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 05ad9f2..e6cc4ba 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. */