File s390-max-unroll-insn-default of Package gcc43
Index: gcc/config/s390/s390.c
===================================================================
--- gcc/config/s390/s390.c.orig 2009-09-24 17:56:46.000000000 +0200
+++ gcc/config/s390/s390.c 2009-09-24 17:57:12.000000000 +0200
@@ -52,6 +52,7 @@ along with GCC; see the file COPYING3.
#include "optabs.h"
#include "tree-gimple.h"
#include "df.h"
+#include "params.h"
/* Define the specific costs for a given cpu. */
@@ -1644,6 +1645,10 @@ override_options (void)
if (!(target_flags_explicit & MASK_LONG_DOUBLE_128))
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);
}
/* Map for smallest class containing reg regno. */