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

--- Comment #10 from Hongtao.liu <crazylht at gmail dot com> ---
Below patch can pass bootstrap --with-arch=skylake-avx512
--with-cpu=skylake-avx512, but didn't observe obvious typo/bug in the pattern.

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 9eefe9ed45b..b6423037ad1 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -17760,24 +17760,6 @@ (define_expand "<code><mode>3"
   DONE;
 })

-(define_expand "cond_<code><mode>"
-  [(set (match_operand:VI48_AVX512VL 0 "register_operand")
-       (vec_merge:VI48_AVX512VL
-         (any_logic:VI48_AVX512VL
-           (match_operand:VI48_AVX512VL 2 "vector_operand")
-           (match_operand:VI48_AVX512VL 3 "vector_operand"))
-         (match_operand:VI48_AVX512VL 4 "nonimm_or_0_operand")
-         (match_operand:<avx512fmaskmode> 1 "register_operand")))]
-  "TARGET_AVX512F"
-{
-  emit_insn (gen_<code><mode>3_mask (operands[0],
-                                    operands[2],
-                                    operands[3],
-                                    operands[4],
-                                    operands[1]));
-  DONE;
-})
-
 (define_expand "<code><mode>3_mask"
   [(set (match_operand:VI48_AVX512VL 0 "register_operand")
        (vec_merge:VI48_AVX512VL

Reply via email to