S/390: Support IBM z14 Model ZR1 with -march=native
authorAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 2 Oct 2018 15:36:49 +0000 (15:36 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 2 Oct 2018 15:36:49 +0000 (15:36 +0000)
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

gcc/ChangeLog
gcc/config/s390/driver-native.c

index 4085d29..9c7ba44 100644 (file)
@@ -1,5 +1,10 @@
 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.
        * config/s390/s390.h (enum processor_flags): Rename PF_ARCH12 to
        PF_Z14.  Rename TARGET_CPU_ARCH12 to TARGET_CPU_Z14,
index 4b2dd6e..97f7b05 100644 (file)
@@ -116,6 +116,7 @@ s390_host_detect_local_cpu (int argc, const char **argv)
              cpu = "z13";
              break;
            case 0x3906:
+           case 0x3907:
              cpu = "z14";
              break;
            default: