[PATCH 2/4] S390 -march=native related fixes
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 24 Jul 2015 11:22:32 +0000 (11:22 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 24 Jul 2015 11:22:32 +0000 (11:22 +0000)
gcc/ChangeLog

* config/s390/s390.c (s390_issue_rate): Handle PROCESSOR_2094_Z9_EC.
(s390_option_override): Likewise.
(s390_adjust_priority): Likewise.

From-SVN: r226145

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

index 3de4f6bd8942d8af2c64be49d9f4031f9b354f58..89c70510d575838513ee1c85cb6457b8605f8681 100644 (file)
@@ -1,3 +1,10 @@
+2015-07-24  Dominik Vogt  <vogt@linux.vnet.ibm.com>
+
+       * config/s390/s390.c (s390_issue_rate): Handle
+       PROCESSOR_2094_Z9_EC.
+       (s390_option_override): Likewise.
+       (s390_adjust_priority): Likewise.
+
 2015-07-24  Dominik Vogt  <vogt@linux.vnet.ibm.com>
 
        * config/s390/s390.h: S390: Do not define EXTRA_SPEC_FUNCTIONS
index 861dfb2bb35a41c1f01b343b7f1a1703427a51a1..27e1c3541ced51e2d70493b78e5d1748b2e59d5e 100644 (file)
@@ -7270,12 +7270,7 @@ s390_adjust_priority (rtx_insn *insn, int priority)
   if (! INSN_P (insn))
     return priority;
 
-  if (s390_tune != PROCESSOR_2084_Z990
-      && s390_tune != PROCESSOR_2094_Z9_109
-      && s390_tune != PROCESSOR_2097_Z10
-      && s390_tune != PROCESSOR_2817_Z196
-      && s390_tune != PROCESSOR_2827_ZEC12
-      && s390_tune != PROCESSOR_2964_Z13)
+  if (s390_tune <= PROCESSOR_2064_Z900)
     return priority;
 
   switch (s390_safe_attr_type (insn))
@@ -7304,6 +7299,7 @@ s390_issue_rate (void)
     {
     case PROCESSOR_2084_Z990:
     case PROCESSOR_2094_Z9_109:
+    case PROCESSOR_2094_Z9_EC:
     case PROCESSOR_2817_Z196:
       return 3;
     case PROCESSOR_2097_Z10:
@@ -13521,6 +13517,7 @@ s390_option_override (void)
       s390_cost = &z990_cost;
       break;
     case PROCESSOR_2094_Z9_109:
+    case PROCESSOR_2094_Z9_EC:
       s390_cost = &z9_109_cost;
       break;
     case PROCESSOR_2097_Z10: