https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107809
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- It looks like SPARC should support vec_perm with VIS2, but it's not clear whether that's enabled. The testcases definitely lack an effective target check for the required permute which is a whole vector shift by 1 element plus the insert of the topmost lane into the first or a two-vector shift by 1 element. I've checked and /* { dg-require-effective-target vect_perm } */ should disable the test for sparc but it's not exactly spot-on I think (and as said, it looks like -mvis2 should suppport the test)