Re: [PATCH, rs6000] Improve swap optimization to modify general xxpermdi patterns

2015-08-30 Thread David Edelsohn
On Sun, Aug 30, 2015 at 7:19 PM, Bill Schmidt wrote: > Hi, > > The VSX swap optimization currently misses opportunities to optimize > loops when expressions corresponding to xxpermdi instructions are > present (other than xxswapd instructions associated with loads and > stores). These occur commo

[PATCH, rs6000] Improve swap optimization to modify general xxpermdi patterns

2015-08-30 Thread Bill Schmidt
Hi, The VSX swap optimization currently misses opportunities to optimize loops when expressions corresponding to xxpermdi instructions are present (other than xxswapd instructions associated with loads and stores). These occur commonly when interleaving vector double or vector unsigned long opera