aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2016-10-28 12:28:24 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2016-10-28 12:28:24 +0000
commit0dbb19f0f1542f9e61e599cbd25111f5de811929 (patch)
tree551345af88b6872e485122f7e6ea28bca874c90d /gcc/config.gcc
parentc19066a7694429e1d322295800e79dbbdf1c8320 (diff)
downloadgcc-0dbb19f0f1542f9e61e599cbd25111f5de811929.zip
gcc-0dbb19f0f1542f9e61e599cbd25111f5de811929.tar.gz
gcc-0dbb19f0f1542f9e61e599cbd25111f5de811929.tar.bz2
S/390: Add support for arch<n> arch/tune options.
This patch adds an alternate CPU level naming following the architecture level number in the Principles of Operations manual. So instead of having z196, zEC12, and z13 you can use arch9, arch10, and arch11. The old cpu names stay valid and should preferably be used. The alternate names are supposed to improve compatibility with the IBM XL compiler toolchain which uses the arch numbering. gcc/testsuite/ChangeLog: 2016-10-28 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * gcc.target/s390/target-attribute/tattr-m64-33.c: New test. gcc/ChangeLog: 2016-10-28 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.opt: Support alternate cpu level naming (archXX). * config.gcc: Support alternate archXX cpu levels with --with-arch= and --with-tune=. * config/s390/linux.h: Translate new archXX cpu levels to the original names when calling GAS. * config/s390/tpf.h: Likewise. * doc/invoke.texi: Document the alternate cpu level names. From-SVN: r241643
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index d956da2..f9148dd 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -4172,7 +4172,7 @@ case "${target}" in
for which in arch tune; do
eval "val=\$with_$which"
case ${val} in
- "" | native | g5 | g6 | z900 | z990 | z9-109 | z9-ec | z10 | z196 | zEC12 | z13)
+ "" | native | g5 | g6 | z900 | z990 | z9-109 | z9-ec | z10 | z196 | zEC12 | z13 | arch3 | arch5 | arch6 | arch7 | arch8 | arch9 | arch10 | arch11)
# OK
;;
*)