https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89213

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
You could just do

xxspltib xx,sh
vsrad 2,2,xx

(only the low 6 bits of the shift count are looked at, for 64-bit shifts,
in all vector insns).

Reply via email to