> The following series of patches contains fixes, and cleanup work
> related to -march=native (and -mtune=native) for S390.
>
> * 0002 Fix handling of -march=z9_ec in old code. This bug has been
> in the code since z9-ec support was added.
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany
gcc/ChangeLog
* config/s390/s390.c (s390_issue_rate): Handle PROCESSOR_2094_Z9_EC.
(s390_option_override): Likewise.
(s390_adjust_priority): Likewise.
>From d7fda8d5dbb006bffef36323921efa081bfdfa57 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <[email protected]>
Date: Tue, 7 Jul 2015 07:57:26 +0100
Subject: [PATCH 2/4] S390: Add handling of PROCESSOR_2094_Z9_EC.
---
gcc/config/s390/s390.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 861dfb2..27e1c35 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -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:
--
2.3.0