+2010-05-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * config/s390/s390.c (optimization_options): Fix and move the
+ flag_prefetch_loop_arrays override ...
+ (override_options): ... here.
+
2010-05-25 Joseph Myers <joseph@codesourcery.com>
* diagnostic.c: Don't include plugin.h.
without maintaining a stack frame back-chain. */
flag_asynchronous_unwind_tables = 1;
- if (HAVE_prefetch || optimize >= 3)
- flag_prefetch_loop_arrays = 1;
-
/* Use MVCLE instructions to decrease code size if requested. */
if (size != 0)
target_flags |= MASK_MVCLE;
set_param_value ("prefetch-min-insn-to-mem-ratio", 2);
if (!PARAM_SET_P (PARAM_SIMULTANEOUS_PREFETCHES))
set_param_value ("simultaneous-prefetches", 6);
+
+ /* This cannot reside in optimization_options since HAVE_prefetch
+ requires the arch flags to be evaluated already. */
+ if (HAVE_prefetch && optimize >= 3)
+ flag_prefetch_loop_arrays = 1;
}
/* Map for smallest class containing reg regno. */