Re: [PATCH, rs6000] Add handling for UNSPEC_VSPLT_DIRECT to analyze_swaps

2014-09-08 Thread David Edelsohn
On Sat, Sep 6, 2014 at 1:50 PM, Bill Schmidt wrote: > Hi, > > Here's one more case of special handling that allows us to optimize more > vectorized loops in analyze_swaps. UNSPEC_VSPLT_DIRECT is used in some > cases to avoid the possibility of an endian fixup. We can still handle > this by swapp

[PATCH, rs6000] Add handling for UNSPEC_VSPLT_DIRECT to analyze_swaps

2014-09-06 Thread Bill Schmidt
Hi, Here's one more case of special handling that allows us to optimize more vectorized loops in analyze_swaps. UNSPEC_VSPLT_DIRECT is used in some cases to avoid the possibility of an endian fixup. We can still handle this by swapping the lane chosen as the source of the splat. While implement