On Tue, Jul 23, 2013 at 1:10 PM, Bill Schmidt <wschm...@linux.vnet.ibm.com> wrote: > This patch fixes another small little-endian problem with vectors on > PowerPC. Element numbering is reversed when selecting a field for a > vector splat operation. Fixing this removes a regression from the test > suite when run in LE mode (gcc.dg/vect/slp-perm-3.c). > > Patch by Anton Blanchard. Bootstrapped and tested on > powerpc64-unknown-linux-gnu with no new regressions. Ok for trunk? > > Thanks, > Bill > > > 2013-07-23 Bill Schmidt <wschm...@linux.vnet.ibm.com> > Anton Blanchard <an...@au1.ibm.com> > > * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Correct > selection of field for vector splat in little endian mode.
This patch is okay. Thanks, David