OSDN Git Service

2009-07-24 Andreas Krebbel <krebbel1@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2009 12:27:15 +0000 (12:27 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2009 12:27:15 +0000 (12:27 +0000)
* config/s390/s390.c (override_options): Default
max-unrolled-insns to 100 for z10 tuning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150051 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/s390/s390.c

index 21dedf4..3e11af8 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-24  Andreas Krebbel  <krebbel1@de.ibm.com>
+       
+       * config/s390/s390.c (override_options): Default
+       max-unrolled-insns to 100 for z10 tuning.
+
 2009-07-24  Tobias Grosser  <grosser@fim.uni-passau.de>
 
        * Makefile.in (TREE_DATA_REF_H, tree-vrp.o, tree-cfg.o, tree-if-conv.o
index 1454fde..f5b2fa7 100644 (file)
@@ -52,6 +52,7 @@ along with GCC; see the file COPYING3.  If not see
 #include "optabs.h"
 #include "gimple.h"
 #include "df.h"
+#include "params.h"
 
 
 /* Define the specific costs for a given cpu.  */
@@ -1627,6 +1628,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.  */