Re: [PATCH, rs6000] Correct optimization of VSX extract-load for little endian

2014-09-04 Thread David Edelsohn
On Thu, Sep 4, 2014 at 12:07 AM, Bill Schmidt wrote: > Hi, > > The *vsx_extract__load pattern performs a scalar load of memory > when possible, rather than a vector load followed by an extract. The > assembly for the pattern always loads the 0th memory doubleword element, > but the pattern match

[PATCH, rs6000] Correct optimization of VSX extract-load for little endian

2014-09-03 Thread Bill Schmidt
Hi, The *vsx_extract__load pattern performs a scalar load of memory when possible, rather than a vector load followed by an extract. The assembly for the pattern always loads the 0th memory doubleword element, but the pattern match selects the 0th for big-endian and the 1st for little-endian, lea