S390: Support -mtune=native and -march=native.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Mon, 1 Jun 2015 11:38:44 +0000 (11:38 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 1 Jun 2015 11:38:44 +0000 (11:38 +0000)
commitcb0edc3993d3b575fe0bcb2e48f492a144dd70e1
treecc7f08983662d64218a0f37a8aa58b7418282263
parenta48b05f9112a14754da22a25dcc36ee442436455
S390: Support -mtune=native and -march=native.

gcc/ChangeLog

2015-06-01  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    * config/s390/driver-native.c: New file.
    * config/s390/x-native: New file.
    * config.host: Add new files for s390.
    * config/s390/s390.h (DRIVER_SELF_SPECS): Add support for -mtune=native
    and -march=native
    * config.gcc: Likewise.
    * config/s390/s390.opt (march): Likewise; add PROCESSOR_NATIVE
    * config/s390/s390-opts.h (enum processor_type): Ditto.
    * config/s390/s390.c (s390_option_override): Catch unhandled
    PROCESSOR_NATIVE

From-SVN: r223934
gcc/ChangeLog
gcc/config.gcc
gcc/config.host
gcc/config/s390/driver-native.c [new file with mode: 0644]
gcc/config/s390/s390-opts.h
gcc/config/s390/s390.c
gcc/config/s390/s390.h
gcc/config/s390/s390.opt
gcc/config/s390/x-native [new file with mode: 0644]