Re: [PATCH, 4.7] Add float/double vector reductions to VSX

2011-04-26 Thread Michael Meissner
On Sat, Apr 23, 2011 at 04:11:50PM -0400, David Edelsohn wrote: > Except the patch includes a change to pattern vsx_xxpermdi_ that > is not explained nor mentioned in the ChangeLog. Yes, that vsx_xxpermdi_ patch was wrong. I believe that snuck in because I had done the work on an older tree befor

Re: [PATCH, 4.7] Add float/double vector reductions to VSX

2011-04-23 Thread David Edelsohn
On Wed, Mar 23, 2011 at 1:42 PM, Michael Meissner wrote: > Pat Haugen noticed we were doing stores in benchmarks where we were doing > vector reductions to extract the final float element.  So I decided to take a > look.  This code implements the vector reductions without doing stores for > float

Ping: [PATCH, 4.7] Add float/double vector reductions to VSX

2011-04-22 Thread Michael Meissner
I'm wondering whether the following patch to add V4SF and V2DF reductions fell through the cracks? http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01525.html -- Michael Meissner, IBM 5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA meiss...@linux.vnet.ibm.com fax +1 (978) 399-689

[PATCH, 4.7] Add float/double vector reductions to VSX

2011-03-23 Thread Michael Meissner
Pat Haugen noticed we were doing stores in benchmarks where we were doing vector reductions to extract the final float element. So I decided to take a look. This code implements the vector reductions without doing stores for float vectors, and eliminates a vector shift for double vectors. I susp