Add march=knl.
authorIlya Tocar <ilya.tocar@intel.com>
Wed, 10 Dec 2014 21:25:12 +0000 (21:25 +0000)
committerIlya Tocar <tocarip@gcc.gnu.org>
Wed, 10 Dec 2014 21:25:12 +0000 (00:25 +0300)
commit52747219da6a56d3f607d84ac51fa82e2e55075d
tree06e9f75cf9ea2d2a46328d6c3e9ea1077d32234a
parent1e29e4d36f701712b541e989ff091d7a6ce1afcd
Add march=knl.

gcc/

* config.gcc: Support "knl".
* config/i386/driver-i386.c (host_detect_local_cpu): Detect "knl".
* config/i386/i386-c.c (ix86_target_macros_internal): Handle
PROCESSOR_KNL.
* config/i386/i386.c (m_KNL): Define.
(processor_target_table): Add "knl".
(PTA_KNL): Define.
(ix86_issue_rate): Add PROCESSOR_KNL.
(ix86_adjust_cost): Ditto.
(ia32_multipass_dfa_lookahead): Ditto.
(get_builtin_code_for_version): Handle "knl".
(fold_builtin_cpu): Ditto.
* config/i386/i386.h (TARGET_KNL): Define.
(processor_type): Add PROCESSOR_KNL.
* config/i386/i386.md (attr "cpu"): Add knl.
* config/i386/x86-tune.def: Add m_KNL.

gcc/testsuite/

* gcc.target/i386/funcspec-5.c: Test avx512f and knl.

From-SVN: r218610
gcc/ChangeLog
gcc/config.gcc
gcc/config/i386/driver-i386.c
gcc/config/i386/i386-c.c
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/i386/x86-tune.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/funcspec-5.c