Re: [PATCH, PowerPC] altivec_expand_vec_perm_const selects wrong field for splat in LE mode

2013-07-23 Thread David Edelsohn
On Tue, Jul 23, 2013 at 1:10 PM, Bill Schmidt 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 (

[PATCH, PowerPC] altivec_expand_vec_perm_const selects wrong field for splat in LE mode

2013-07-23 Thread Bill Schmidt
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. Bootstr