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

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Perhaps something like: (copy word 1 in vB to word rB in vT; BE)

sldi rB,rB,2
lvsl vP,0,rB
vperm vT,vT,vT,vP
xxinsertw vT,vB,0
lvsr vP,0,rB
vperm vT,vT,vT,vP

(i.e. rotate the dest vector so that the dest elt becomes elt 0,
do the insert, rotate back).

Reply via email to