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

--- Comment #8 from Hongtao.liu <crazylht at gmail dot com> ---
> For avx2_gt we actually use the expander in one spot, but don't use the
> builtins.

Just note, there're also

modified   libcpp/lex.c
@@ -391,10 +391,10 @@ search_line_sse2 (const uchar *s, const uchar *end
ATTRIBUTE_UNUSED)
       mask = -1;

     start:
-      t  = __builtin_ia32_pcmpeqb128(data, repl_nl);
-      t |= __builtin_ia32_pcmpeqb128(data, repl_cr);
-      t |= __builtin_ia32_pcmpeqb128(data, repl_bs);
-      t |= __builtin_ia32_pcmpeqb128(data, repl_qm);
+      t  = data == repl_nl;
+      t |= data == repl_cr;
+      t |= data == repl_bs;
+      t |= data == repl_qm;
       found = __builtin_ia32_pmovmskb128 (t);
       found &= mask;
     }

Reply via email to