Re: [PATCH, rs6000] Fix V16QI vector splat for little endian

2013-11-19 Thread David Edelsohn
On Tue, Nov 19, 2013 at 5:41 PM, Bill Schmidt wrote: > Hi, > > When possible, we translate VEC_PERM_EXPRs into vector splat operations. > A previous patch fixed this up for little endian, but there was an > oversight for V16QI mode. This patch fixes that oversight. This fixes > the failing test

[PATCH, rs6000] Fix V16QI vector splat for little endian

2013-11-19 Thread Bill Schmidt
Hi, When possible, we translate VEC_PERM_EXPRs into vector splat operations. A previous patch fixed this up for little endian, but there was an oversight for V16QI mode. This patch fixes that oversight. This fixes the failing test gcc.dg/torture/vshuf-v16qi.c. Bootstrapped and tested on powerpc