Re: [PATCH, rs6000] Add support for usadv16qi and usadv8hi standard patterns

2017-11-06 Thread Bill Schmidt
On Nov 6, 2017, at 4:17 AM, Segher Boessenkool wrote: > > Hi Bill, > > No quotes around the {} block please (twice). Whoops. I know better; copied from a bad example and missed it. > > Other than that, looks fine to me, please commit. Thanks, > Thanks for the review! r254453. Bill > > S

Re: [PATCH, rs6000] Add support for usadv16qi and usadv8hi standard patterns

2017-11-06 Thread Segher Boessenkool
Hi Bill, On Sun, Nov 05, 2017 at 06:25:11PM -0600, Bill Schmidt wrote: > This patch adds support for vectorization of unsigned SAD expressions. SAD > vectorization uses the usad pattern to represent a widening accumulation > of SADs performed on a narrower type. The two cases in this patch opera

[PATCH, rs6000] Add support for usadv16qi and usadv8hi standard patterns

2017-11-05 Thread Bill Schmidt
Hi, This patch adds support for vectorization of unsigned SAD expressions. SAD vectorization uses the usad pattern to represent a widening accumulation of SADs performed on a narrower type. The two cases in this patch operate on V16QImode and V8HImode, respectively, accumulating into V4SImode.