On Mon, May 23, 2016 at 06:22:22PM -0400, Michael Meissner wrote: > Here are the patches for xxpermr/vpermr support that are broken out from > fixing > the xxperm fusion bug. I have built a compiler with these patches (and the > xxperm patches) and it bootstraps and does not cause a regression. Are they > ok > to add to GCC 7 and eventually to GCC 6.2? > > [gcc] > 2016-05-23 Michael Meissner <meiss...@linux.vnet.ibm.com> > Kelvin Nilsen <kel...@gcc.gnu.org> > > * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate > vpermr/xxpermr on ISA 3.0. > (altivec_expand_vec_perm_le): Likewise. > * config/rs6000/altivec.md (UNSPEC_VPERMR): New unspec. > (altivec_vpermr_<mode>_internal): Add VPERMR/XXPERMR support for > ISA 3.0. > > [gcc/testsuite] > 2016-05-23 Michael Meissner <meiss...@linux.vnet.ibm.com> > Kelvin Nilsen <kel...@gcc.gnu.org> > > * gcc.target/powerpc/p9-vpermr.c: New test for ISA 3.0 vpermr > support.
Okay for trunk. Okay for 6 after a week or so. Thanks, Segher