Commit fd9c86e0 by Dominik Vogt Committed by Andreas Krebbel

[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
parent 63281f61
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
when cross compiling.
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment