* config/i386/x86-tune.def (X86_TUNE_AVOID_256FMA_CHAINS): Set of ZNVER2.

From-SVN: r273729
This commit is contained in:
Jan Hubicka 2019-07-23 11:32:44 +02:00 committed by Jan Hubicka
parent 187dd65de8
commit ef893a2a76
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2019-07-23 Jan Hubicka <hubicka@ucw.cz>
* 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 <hubicka@ucw.cz>
* config/i386/x86-tune-costs.h (znver2_memcpy): Update.

View File

@ -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) */
/*****************************************************************************/