Enable option -mprefer-avx256 as default for Intel Skylake configuration
authorSergey Shalnov <Sergey.Shalnov@intel.com>
Fri, 17 Nov 2017 04:56:57 +0000 (04:56 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Fri, 17 Nov 2017 04:56:57 +0000 (04:56 +0000)
commit5958557b750254f28954d1ed6a3ce0b9cb48c6fb
treef31b71081b8a9db0d80b7c10ba39e9a608d2f990
parent71d8eff176ca829b984228e522238937cb267c05
Enable option -mprefer-avx256 as default for Intel Skylake configuration

gcc/
* config/i386/x86-tune.def (X86_TUNE_AVX256_OPTIMAL): Add tuning
option prefer-avx256 for skylake-avx512 configuration.
* config/i386/i386.c (ix86_option_override_internal): Ditto.
(get_builtin_code_for_version): Ditto.

From-SVN: r254855
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/x86-tune.def