From: Jan Hubicka Date: Tue, 23 Jul 2019 09:32:44 +0000 (+0200) Subject: * config/i386/x86-tune.def (X86_TUNE_AVOID_256FMA_CHAINS): Set of ZNVER2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef893a2a769b18c61953d80670b1db8c27bc44e0;p=gcc.git * config/i386/x86-tune.def (X86_TUNE_AVOID_256FMA_CHAINS): Set of ZNVER2. From-SVN: r273729 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a84ebb6641..181ecc4ced9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-07-23 Jan Hubicka + + * config/i386/i386-options.c (ix86_option_override_internal): Default + PARAM_AVOID_FMA_MAX_BITS to 256 for znver2. + * config/i386/x86-tune.def (X86_TUNE_AVOID_256FMA_CHAINS): Set + for ZNVER2. + 2019-07-23 Jan Hubicka * config/i386/x86-tune-costs.h (znver2_memcpy): Update. diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def index 01e49867dfb..fd59a842658 100644 --- a/gcc/config/i386/x86-tune.def +++ b/gcc/config/i386/x86-tune.def @@ -431,6 +431,10 @@ DEF_TUNE (X86_TUNE_USE_GATHER, "use_gather", smaller FMA chain. */ DEF_TUNE (X86_TUNE_AVOID_128FMA_CHAINS, "avoid_fma_chains", m_ZNVER) +/* X86_TUNE_AVOID_256FMA_CHAINS: Avoid creating loops with tight 256bit or + smaller FMA chain. */ +DEF_TUNE (X86_TUNE_AVOID_256FMA_CHAINS, "avoid_fma256_chains", m_ZNVER2) + /*****************************************************************************/ /* AVX instruction selection tuning (some of SSE flags affects AVX, too) */ /*****************************************************************************/