diff mbox series

Enable scatter for generic

Message ID ZAW7SuefyFqOlPDc@kam.mff.cuni.cz
State New
Headers show
Series Enable scatter for generic | expand

Commit Message

Jan Hubicka March 6, 2023, 10:07 a.m. UTC
Hi,
while adding tunes to siable scatters on znver4 I mistakely also disabled
them on generic.  This patch fixes it.

Bootstraped/regtested x86_64, comitted.

Honza

gcc/ChangeLog:

2023-03-06  Jan Hubicka  <hubicka@ucw.cz>

	* config/i386/x86-tune.def (X86_TUNE_USE_SCATTER_2PARTS): Enable for
	generic.
	(X86_TUNE_USE_SCATTER_4PARTS): Likewise.
	(X86_TUNE_USE_SCATTER): Likewise.
diff mbox series

Patch

diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 3054656a12c..9d603cc84e4 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -486,7 +486,7 @@  DEF_TUNE (X86_TUNE_USE_GATHER_2PARTS, "use_gather_2parts",
 /* X86_TUNE_USE_SCATTER_2PARTS: Use scater instructions for vectors with 2
    elements.  */
 DEF_TUNE (X86_TUNE_USE_SCATTER_2PARTS, "use_scatter_2parts",
-	  ~(m_ZNVER4 | m_GENERIC))
+	  ~(m_ZNVER4))
 
 /* X86_TUNE_USE_GATHER_4PARTS: Use gather instructions for vectors with 4
    elements.  */
@@ -496,7 +496,7 @@  DEF_TUNE (X86_TUNE_USE_GATHER_4PARTS, "use_gather_4parts",
 /* X86_TUNE_USE_SCATTER_4PARTS: Use scater instructions for vectors with 4
    elements.  */
 DEF_TUNE (X86_TUNE_USE_SCATTER_4PARTS, "use_scatter_4parts",
-	  ~(m_ZNVER4 | m_GENERIC))
+	  ~(m_ZNVER4))
 
 /* X86_TUNE_USE_GATHER: Use gather instructions for vectors with 8 or more
    elements.  */
@@ -506,7 +506,7 @@  DEF_TUNE (X86_TUNE_USE_GATHER, "use_gather",
 /* X86_TUNE_USE_SCATTER: Use scater instructions for vectors with 8 or more
    elements.  */
 DEF_TUNE (X86_TUNE_USE_SCATTER, "use_scatter",
-	  ~(m_ZNVER4 | m_GENERIC))
+	  ~(m_ZNVER4))
 
 /* X86_TUNE_AVOID_128FMA_CHAINS: Avoid creating loops with tight 128bit or
    smaller FMA chain.  */