https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126030

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
   Last reconfirmed|                            |2026-06-29
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
2026-06-29  Jakub Jelinek  <[email protected]>

        PR target/126030
        * config/i386/sse.md (avx512vl_<code><mode>v4hi2_mask_store_1):
        Use a single output pattern instead of conditionally returning
        the same string based on a condition.

--- gcc/config/i386/sse.md.jj   2026-06-25 10:03:50.784436810 +0200
+++ gcc/config/i386/sse.md      2026-06-29 18:23:47.017042067 +0200
@@ -16204,11 +16204,7 @@ (define_insn "avx512vl_<code><mode>v4hi2
          (match_dup 0)
          (match_operand:QI 2 "register_operand" "Yk")))]
   "TARGET_AVX512VL"
-{
-  if (GET_MODE_SIZE (GET_MODE_INNER (<MODE>mode)) == 4)
-    return "vpmov<trunsuffix><pmov_suff_4>\t{%1, %0%{%2%}|%0%{%2%}, %1}";
-  return "vpmov<trunsuffix><pmov_suff_4>\t{%1, %0%{%2%}|%0%{%2%}, %1}";
-}
+  "vpmov<trunsuffix><pmov_suff_4>\t{%1, %0%{%2%}|%0%{%2%}, %1}"
   [(set_attr "type" "ssemov")
    (set_attr "memory" "store")
    (set_attr "prefix" "evex")

Reply via email to