On Tue, Jul 23, 2013 at 11:19 PM, Bill Schmidt <wschm...@linux.vnet.ibm.com> wrote: > In order to use vperm for aligning loads and stores in little endian > mode, we need to reverse the order of the input operands and use lvsl > instead of lvsr. This corrects 32 regressions in the test suite when > run in LE mode. > > Bootstrapped and tested on powerpc64-unknown-linux-gnu in BE mode with > no new regressions. Is this ok for trunk? > > Patch by Anton Blanchard. > > Thanks, > Bill > > > 2013-07-23 Bill Schmidt <wschm...@vnet.linux.ibm.com> > Anton Blanchard <an...@au1.ibm.com> > > * vector.md (vec_realign_load_<mode>): Reorder input operands to > vperm for little endian. > * rs6000.c (rs6000_expand_builtin): Use lvsr instead of lvsl to > create the control mask for a vperm for little endian.
Okay. Thanks, David