]> git.ipfire.org Git - people/ms/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>
Tue, 14 Mar 2023 08:17:21 +0000 (09:17 +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.

(cherry picked from commit b83acefb0409056b566133f66843ead6c04b8474)

gcc/config/i386/x86-tune.def

index 9f15ae7bb2e1707b33a912d17e8a03b0e8e6fb86..78d815c32dbc178505126d068d2dc1155d28c948 100644 (file)
@@ -472,7 +472,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.  */
@@ -482,7 +482,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.  */