From: Andreas Krebbel Date: Tue, 2 Oct 2018 15:36:49 +0000 (+0000) Subject: S/390: Support IBM z14 Model ZR1 with -march=native X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c609d36a6ed55a5761e4c9245f4ae79a643cefb;p=gcc.git 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 * config/s390/driver-native.c (s390_host_detect_local_cpu): Add 0x3907 as CPU model number. From-SVN: r264797 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4085d290420..9c7ba448de3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-02 Andreas Krebbel + + * config/s390/driver-native.c (s390_host_detect_local_cpu): Add + 0x3907 as CPU model number. + 2018-10-02 Andreas Krebbel * common/config/s390/s390-common.c: Rename PF_ARCH12 to PF_Z14. diff --git a/gcc/config/s390/driver-native.c b/gcc/config/s390/driver-native.c index 4b2dd6e1ae8..97f7b0556eb 100644 --- a/gcc/config/s390/driver-native.c +++ b/gcc/config/s390/driver-native.c @@ -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: