Commit 3c609d36 by Andreas Krebbel Committed by Andreas Krebbel

S/390: Support IBM z14 Model ZR1 with -march=native

This adds the CPU model number of the IBM z14 Model ZR1 machine to
-march=native.  The patch doesn't actually change anything since we
anyway default to z14 for unknown CPU model numbers.  So this is just
for the sake of completeness.

2018-10-02  Andreas Krebbel  <krebbel@linux.ibm.com>

	* config/s390/driver-native.c (s390_host_detect_local_cpu): Add
	0x3907 as CPU model number.

From-SVN: r264797
parent e9e8efc9
2018-10-02 Andreas Krebbel <krebbel@linux.ibm.com> 2018-10-02 Andreas Krebbel <krebbel@linux.ibm.com>
* config/s390/driver-native.c (s390_host_detect_local_cpu): Add
0x3907 as CPU model number.
2018-10-02 Andreas Krebbel <krebbel@linux.ibm.com>
* common/config/s390/s390-common.c: Rename PF_ARCH12 to PF_Z14. * common/config/s390/s390-common.c: Rename PF_ARCH12 to PF_Z14.
* config/s390/s390.h (enum processor_flags): Rename PF_ARCH12 to * config/s390/s390.h (enum processor_flags): Rename PF_ARCH12 to
PF_Z14. Rename TARGET_CPU_ARCH12 to TARGET_CPU_Z14, PF_Z14. Rename TARGET_CPU_ARCH12 to TARGET_CPU_Z14,
...@@ -116,6 +116,7 @@ s390_host_detect_local_cpu (int argc, const char **argv) ...@@ -116,6 +116,7 @@ s390_host_detect_local_cpu (int argc, const char **argv)
cpu = "z13"; cpu = "z13";
break; break;
case 0x3906: case 0x3906:
case 0x3907:
cpu = "z14"; cpu = "z14";
break; break;
default: default:
......
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