From fd9c86e0911d869400bab09ded01a4974b00b9f5 Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Fri, 24 Jul 2015 11:22:32 +0000 Subject: [PATCH] [PATCH 2/4] S390 -march=native related fixes 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 | 7 +++++++ gcc/config/s390/s390.c | 9 +++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3de4f6bd894..89c70510d57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-07-24 Dominik Vogt + + * 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 * config/s390/s390.h: S390: Do not define EXTRA_SPEC_FUNCTIONS diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 861dfb2bb35..27e1c3541ce 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.30.2