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

Message ID 1538494639-24588-2-git-send-email-krebbel@linux.ibm.com
State New
Headers show
Series
  • [1/2] S/390: Rename arch12 to z14
Related show

Commit Message

Andreas Krebbel Oct. 2, 2018, 3:37 p.m.
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.
---
 gcc/config/s390/driver-native.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

Patch

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: