Re: [PATCH,rs6000] Add pass to optimize away xxpermdi's from vector computations

2014-08-18 Thread David Edelsohn
On Sun, Aug 17, 2014 at 8:39 PM, Bill Schmidt wrote: > On Sun, 2014-08-17 at 14:52 -0400, David Edelsohn wrote: >> On Wed, Aug 13, 2014 at 7:14 PM, Bill Schmidt >> wrote: >> > Hi, >> > >> > This patch adds a PowerPC-specific pass just prior to the first cse RTL >> > pass. The pass runs only when

Re: [PATCH,rs6000] Add pass to optimize away xxpermdi's from vector computations

2014-08-17 Thread Bill Schmidt
On Sun, 2014-08-17 at 14:52 -0400, David Edelsohn wrote: > On Wed, Aug 13, 2014 at 7:14 PM, Bill Schmidt > wrote: > > Hi, > > > > This patch adds a PowerPC-specific pass just prior to the first cse RTL > > pass. The pass runs only when generating little-endian code for Power8 > > with VSX enabled

Re: [PATCH,rs6000] Add pass to optimize away xxpermdi's from vector computations

2014-08-17 Thread David Edelsohn
On Wed, Aug 13, 2014 at 7:14 PM, Bill Schmidt wrote: > Hi, > > This patch adds a PowerPC-specific pass just prior to the first cse RTL > pass. The pass runs only when generating little-endian code for Power8 > with VSX enabled, and for -O1 and up. For this particular subtarget, > the use of the

[PATCH,rs6000] Add pass to optimize away xxpermdi's from vector computations

2014-08-13 Thread Bill Schmidt
Hi, This patch adds a PowerPC-specific pass just prior to the first cse RTL pass. The pass runs only when generating little-endian code for Power8 with VSX enabled, and for -O1 and up. For this particular subtarget, the use of the big-endian-biased vector load and store instructions requires per