aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390/driver-native.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2018-10-02 15:36:49 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2018-10-02 15:36:49 +0000
commit3c609d36a6ed55a5761e4c9245f4ae79a643cefb (patch)
treebc787523381e749c99ad62e1a8128bd13f4eac38 /gcc/config/s390/driver-native.c
parente9e8efc982888dcde3d33798d208b0a81a9c442c (diff)
downloadgcc-3c609d36a6ed55a5761e4c9245f4ae79a643cefb.zip
gcc-3c609d36a6ed55a5761e4c9245f4ae79a643cefb.tar.gz
gcc-3c609d36a6ed55a5761e4c9245f4ae79a643cefb.tar.bz2
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
Diffstat (limited to 'gcc/config/s390/driver-native.c')
-rw-r--r--gcc/config/s390/driver-native.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/s390/driver-native.c b/gcc/config/s390/driver-native.c
index 4b2dd6e..97f7b05 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: