https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110630
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:25f831eab368d1bbec4dc67bf058cb7cf6b721ee commit r14-2460-g25f831eab368d1bbec4dc67bf058cb7cf6b721ee Author: Richard Biener <rguent...@suse.de> Date: Wed Jul 12 11:19:58 2023 +0200 tree-optimization/110630 - enhance SLP permute support The following enhances the existing lowpart extraction support for SLP VEC_PERM nodes to cover all vector aligned extractions. This allows the existing bb-slp-pr95839.c testcase to be vectorized with mips -mpaired-single and the new bb-slp-pr95839-3.c testcase with SSE2. PR tree-optimization/110630 * tree-vect-slp.cc (vect_add_slp_permutation): New offset parameter, honor that for the extract code generation. (vectorizable_slp_permutation_1): Handle offsetted identities. * gcc.dg/vect/bb-slp-pr95839.c: Make stricter. * gcc.dg/vect/bb-slp-pr95839-3.c: New variant testcase.