Re: [PATCH, rs6000] Support -maltivec=be in LE mode for vec_perm builtin

2014-01-31 Thread David Edelsohn
On Fri, Jan 31, 2014 at 6:36 PM, Bill Schmidt wrote: > Hi, > > One more patch in the set supporting -maltivec=be for the Altivec > builtins, this one for vec_perm. Most of the work was done already in > rs6000.c:altivec_expand_vec_perm_le (). We can reuse this logic for the > present work by gen

[PATCH, rs6000] Support -maltivec=be in LE mode for vec_perm builtin

2014-01-31 Thread Bill Schmidt
Hi, One more patch in the set supporting -maltivec=be for the Altivec builtins, this one for vec_perm. Most of the work was done already in rs6000.c:altivec_expand_vec_perm_le (). We can reuse this logic for the present work by generalizing the code to operate on vector types other than V16QImod