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 4085d29042059cd814910ed0c97127022a4a4ce3..9c7ba448de31c85391a98d2d90501e377314e0a9 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 4b2dd6e1ae8d11b04139a771f384eeddd4dbb2c5..97f7b0556eb2db221d7e9940981e8bf4d6c0b014 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: