https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103905
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> --- Created attachment 52123 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52123&action=edit Patch that disables XOP permute with partial vectors Please try this patch.