Re: [SVE] PR89007 - Implement generic vector average expansion

2019-12-09 Thread Prathamesh Kulkarni
On Thu, 5 Dec 2019 at 18:17, Richard Biener wrote: > > On Thu, 5 Dec 2019, Prathamesh Kulkarni wrote: > > > On Fri, 29 Nov 2019 at 15:41, Richard Biener > > wrote: > > > > > > On Fri, Nov 22, 2019 at 12:40 PM Prathamesh Kulkarni > > > wrote: > > > > > > > > On Wed, 20 Nov 2019 at 16:54,

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-12-05 Thread Richard Biener
On Thu, 5 Dec 2019, Prathamesh Kulkarni wrote: > On Fri, 29 Nov 2019 at 15:41, Richard Biener > wrote: > > > > On Fri, Nov 22, 2019 at 12:40 PM Prathamesh Kulkarni > > wrote: > > > > > > On Wed, 20 Nov 2019 at 16:54, Richard Biener wrote: > > > > > > > > On Wed, 20 Nov 2019, Richard Sandiford

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-12-05 Thread Prathamesh Kulkarni
On Fri, 29 Nov 2019 at 15:41, Richard Biener wrote: > > On Fri, Nov 22, 2019 at 12:40 PM Prathamesh Kulkarni > wrote: > > > > On Wed, 20 Nov 2019 at 16:54, Richard Biener wrote: > > > > > > On Wed, 20 Nov 2019, Richard Sandiford wrote: > > > > > > > Hi, > > > > > > > > Thanks for doing this.

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-29 Thread Richard Biener
On Fri, Nov 22, 2019 at 12:40 PM Prathamesh Kulkarni wrote: > > On Wed, 20 Nov 2019 at 16:54, Richard Biener wrote: > > > > On Wed, 20 Nov 2019, Richard Sandiford wrote: > > > > > Hi, > > > > > > Thanks for doing this. Adding Richard on cc:, since the SVE subject > > > tag might have put him

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-29 Thread Prathamesh Kulkarni
On Fri, 22 Nov 2019 at 17:09, Prathamesh Kulkarni wrote: > > On Wed, 20 Nov 2019 at 16:54, Richard Biener wrote: > > > > On Wed, 20 Nov 2019, Richard Sandiford wrote: > > > > > Hi, > > > > > > Thanks for doing this. Adding Richard on cc:, since the SVE subject > > > tag might have put him off.

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-22 Thread Prathamesh Kulkarni
On Wed, 20 Nov 2019 at 16:54, Richard Biener wrote: > > On Wed, 20 Nov 2019, Richard Sandiford wrote: > > > Hi, > > > > Thanks for doing this. Adding Richard on cc:, since the SVE subject > > tag might have put him off. There's not really anything SVE-specific > > here apart from the testcase.

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-20 Thread Richard Biener
On Wed, 20 Nov 2019, Richard Sandiford wrote: > Hi, > > Thanks for doing this. Adding Richard on cc:, since the SVE subject > tag might have put him off. There's not really anything SVE-specific > here apart from the testcase. Ah. > > 2019-11-19 Prathamesh Kulkarni > > > > PR

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-20 Thread Richard Sandiford
Hi, Thanks for doing this. Adding Richard on cc:, since the SVE subject tag might have put him off. There's not really anything SVE-specific here apart from the testcase. > 2019-11-19 Prathamesh Kulkarni > > PR tree-optimization/89007 > * tree-vect-patterns.c

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-19 Thread Prathamesh Kulkarni
On Mon, 18 Nov 2019 at 16:17, Kyrill Tkachov wrote: > > Hi Prathamesh, > > On 11/14/19 6:47 PM, Prathamesh Kulkarni wrote: > > Hi, > > As suggested in PR, the attached patch falls back to distributing > > rshift over plus_expr instead of fallback widening -> arithmetic -> > > narrowing sequence,

Re: [SVE] PR89007 - Implement generic vector average expansion

2019-11-18 Thread Kyrill Tkachov
Hi Prathamesh, On 11/14/19 6:47 PM, Prathamesh Kulkarni wrote: Hi, As suggested in PR, the attached patch falls back to distributing rshift over plus_expr instead of fallback widening -> arithmetic -> narrowing sequence, if target support is not available. Bootstrap+tested on

[SVE] PR89007 - Implement generic vector average expansion

2019-11-14 Thread Prathamesh Kulkarni
Hi, As suggested in PR, the attached patch falls back to distributing rshift over plus_expr instead of fallback widening -> arithmetic -> narrowing sequence, if target support is not available. Bootstrap+tested on x86_64-unknown-linux-gnu and aarch64-linux-gnu. OK to commit ? Thanks, Prathamesh