[Committed] S/390: Support z14 as CPU name.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 31 Jul 2017 11:31:09 +0000 (11:31 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 31 Jul 2017 11:31:09 +0000 (11:31 +0000)
commit2731a5b331e812427b95801d121a7567998e030c
treed5f6e1d0b675ffb4bd22af00f4559ad0b2539def
parent0688f9c15297a8164c73bcd79bdd2983ea1ab000
[Committed] S/390: Support z14 as CPU name.

With IBM z14 officially announced we can add support for z14 as
preferred CPU name.  We still pass arch12 to Binutils in order to keep
older Binutils versions supported.

gcc/ChangeLog:

2017-07-31  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config.gcc: Add z14.
* config/s390/driver-native.c (s390_host_detect_local_cpu): Add
CPU model numbers for z13s and z14.
* config/s390/s390-c.c (s390_resolve_overloaded_builtin): Replace
arch12 with z14.
* config/s390/s390-opts.h (enum processor_type): Rename
PROCESSOR_ARCH12 to PROCESSOR_3906_Z14.
* config/s390/s390.c (processor_table): Add field for CPU name to
be passed to Binutils.
(s390_asm_output_machine_for_arch): Use the new field in
processor_table for Binutils.
(s390_expand_builtin): Replace arch12 with z14.
(s390_issue_rate): Rename PROCESSOR_ARCH12 to PROCESSOR_3906_Z14.
(s390_get_sched_attrmask): Likewise.
(s390_get_unit_mask): Likewise.
* config/s390/s390.opt: Add z14 to processor_type enum.

From-SVN: r250739
gcc/ChangeLog
gcc/config.gcc
gcc/config/s390/driver-native.c
gcc/config/s390/s390-c.c
gcc/config/s390/s390-opts.h
gcc/config/s390/s390.c
gcc/config/s390/s390.opt