Re: [PATCH, rs6000] Add support for vbpermd instruction and vec_bperm API

2017-01-17 Thread Segher Boessenkool
Hi Bill, On Tue, Jan 17, 2017 at 09:58:52AM -0600, Bill Schmidt wrote: > Bootstrapped and tested on powerpc64-unknown-linux-gnu and on > powerpc64le-unknown-linux-gnu with no regressions. Is this ok for > trunk? Yes this is fine. Just one trivial remark, fix it or not, your choice... > +; One

[PATCH, rs6000] Add support for vbpermd instruction and vec_bperm API

2017-01-17 Thread Bill Schmidt
Hi, ISA 3.0 adds the vbpermd instruction, related to the vbpermq instruction added in ISA 2.7. This patch adds support for that instruction, and also ensures that vec_bperm provides access to the three supported interfaces mandated by the ELFv2 ABI: vector unsigned char vec_bperm (vector unsigne