Re: [RS6000] powerpc64le vec splat

2013-06-21 Thread David Edelsohn
On Fri, Jun 21, 2013 at 12:53 AM, Alan Modra wrote: > A number of places in the rs6000 backend assume the value for a vec > splat can be found at element nunits-1 of a vector constant, which is > wrong for little-endian. This patch fixes them and the ICE found > when running altivec-consts.c on p

[RS6000] powerpc64le vec splat

2013-06-20 Thread Alan Modra
A number of places in the rs6000 backend assume the value for a vec splat can be found at element nunits-1 of a vector constant, which is wrong for little-endian. This patch fixes them and the ICE found when running altivec-consts.c on powerpc64le. I've also updated the testcase so that it passes