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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I changed the avx function to

extern __inline int __attribute__((__gnu_inline__, __always_inline__,
__artificial__))
__avx_lookup (char kk, __m128i h)
{
   __m128i k = _mm_set1_epi8(kk);
   __m128i r = _mm_cmpeq_epi8(k,h);
   return _mm_movemask_epi8(r);
}

to make it compile but cannot reproduce with a GCC 7.5.0 native compiler on
x86_64.

Note that GCC 7.5 is no longer supported, the oldest still supported compiler
would be GCC 10.4

Reply via email to