https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99785
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- gcc does have __builtin_convertvector (which is used only for clang apparently), and while it doesn't have __builtin_shufflevector, it does have __builtin_shuffle which can achieve everything that the code does with __builtin_shufflevector, just with different syntax.