https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70509
--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Zdenek Sojka from comment #5) > It also fixes several wrong-code testcases that I failed to reduce to a > reasonable size, thus were unreported. Nice. While you are looking at those values that don't fit anymore with AVX512, there is one place I forgot when I patched the neighbors in simplify-rtx.c:3668 if (sel & (1 << UINTVAL (j))) The 1 is supposed to be HOST_WIDE_INT_1U. (IIRC we will be in trouble if there is ever an AVX1024 with vectors of chars, as even hwi will be too small...)