Re: [PATCH, rs6000] Handle vec_extract and splat patterns in analyze_swaps

2014-09-04 Thread David Edelsohn
On Thu, Sep 4, 2014 at 12:28 AM, Bill Schmidt wrote: > Hi, > > This patch adds more special handling to analyze_swaps to allow us to > improve more computations. Previously I had disallowed VEC_SELECT in > all cases. This is now changed to allow a select of a single lane, > either for an extract

[PATCH, rs6000] Handle vec_extract and splat patterns in analyze_swaps

2014-09-03 Thread Bill Schmidt
Hi, This patch adds more special handling to analyze_swaps to allow us to improve more computations. Previously I had disallowed VEC_SELECT in all cases. This is now changed to allow a select of a single lane, either for an extract operation or for a splat operation. If a computation containing