]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Enable scatter for generic
authorJan Hubicka <jh@suse.cz>
Mon, 6 Mar 2023 10:08:26 +0000 (11:08 +0100)
committerJan Hubicka <jh@suse.cz>
Mon, 6 Mar 2023 10:08:26 +0000 (11:08 +0100)
2023-03-06  Jan Hubicka  <hubicka@ucw.cz>

PR target/108429
* config/i386/x86-tune.def (X86_TUNE_USE_SCATTER_2PARTS): Enable for
generic.
(X86_TUNE_USE_SCATTER_4PARTS): Likewise.
(X86_TUNE_USE_SCATTER): Likewise.

gcc/config/i386/x86-tune.def

index 3054656a12c27e8cc7673be1c84af41548fb6e2c..9d603cc84e4414eebc60d1a12d786dac0f679124 100644 (file)
@@ -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.  */