Re: [PATCH, rs6000] vec_sums must define all result vector elements

2014-02-21 Thread David Edelsohn
On Fri, Feb 21, 2014 at 12:56 PM, Bill Schmidt wrote: > Hi, > > The little-endian implementation of vec_sums is incorrect. I had > misread the specification and thought that the fields not containing the > result value were undefined, but in fact they are defined to contain > zero. My previous i

[PATCH, rs6000] vec_sums must define all result vector elements

2014-02-21 Thread Bill Schmidt
Hi, The little-endian implementation of vec_sums is incorrect. I had misread the specification and thought that the fields not containing the result value were undefined, but in fact they are defined to contain zero. My previous implementation used a vector splat to copy the field from BE elemen