Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-22 Thread Jeff Law via Gcc-patches
Christina ; Richard Biener ; nd Subject: Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs On Tue, 22 Nov 2022, Richard Sandiford wrote: Tamar Christina via Gcc-patches writes: So it's not easily possible the within current infrastructure. But it does look

Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-22 Thread Richard Biener via Gcc-patches
Tamar > >> Christina ; Richard Biener > >> ; nd > >> Subject: Re: [PATCH 1/8]middle-end: Recognize scalar reductions from > >> bitfields and array_refs > >> > >> On Tue, 22 Nov 2022, Richard Sandiford wrote: > >> > >>

Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-22 Thread Richard Sandiford via Gcc-patches
Tamar Christina writes: >> -Original Message- >> From: Richard Biener >> Sent: Tuesday, November 22, 2022 10:59 AM >> To: Richard Sandiford >> Cc: Tamar Christina via Gcc-patches ; Tamar >> Christina ; Richard Biener >> ; nd >> Subj

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-22 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Richard Biener > Sent: Tuesday, November 22, 2022 10:59 AM > To: Richard Sandiford > Cc: Tamar Christina via Gcc-patches ; Tamar > Christina ; Richard Biener > ; nd > Subject: Re: [PATCH 1/8]middle-end: Recognize scalar reducti

Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-22 Thread Richard Biener via Gcc-patches
On Tue, 22 Nov 2022, Richard Sandiford wrote: > Tamar Christina via Gcc-patches writes: > >> So it's not easily possible the within current infrastructure. But it > >> does look > >> like ARM might eventually benefit from something like STV on x86? > >> > > > > I'm not sure. The problem with

Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-22 Thread Richard Sandiford via Gcc-patches
Tamar Christina via Gcc-patches writes: >> So it's not easily possible the within current infrastructure. But it does >> look >> like ARM might eventually benefit from something like STV on x86? >> > > I'm not sure. The problem with trying to do this in RTL is that you'd have > to be > able t

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-07 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Richard Biener > Sent: Monday, November 7, 2022 11:23 AM > To: Tamar Christina > Cc: Richard Biener ; gcc- > patc...@gcc.gnu.org; nd > Subject: RE: [PATCH 1/8]middle-end: Recognize scalar reductions from > bitfields and array_refs

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-07 Thread Richard Biener via Gcc-patches
2022 11:33 AM > > > > To: Tamar Christina > > > > Cc: gcc-patches@gcc.gnu.org; nd ; rguent...@suse.de > > > > Subject: Re: [PATCH 1/8]middle-end: Recognize scalar reductions from > > > > bitfields and array_refs > > > > > > > > On Mo

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-07 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Richard Biener > Sent: Monday, November 7, 2022 10:18 AM > To: Tamar Christina > Cc: Richard Biener ; gcc- > patc...@gcc.gnu.org; nd > Subject: RE: [PATCH 1/8]middle-end: Recognize scalar reductions from > bitfields and array_refs

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-07 Thread Richard Biener via Gcc-patches
On Mon, 7 Nov 2022, Tamar Christina wrote: > > -Original Message- > > From: Richard Biener > > Sent: Saturday, November 5, 2022 11:33 AM > > To: Tamar Christina > > Cc: gcc-patches@gcc.gnu.org; nd ; rguent...@suse.de > > Subject: Re: [PATCH 1/8]mid

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-06 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Richard Biener > Sent: Saturday, November 5, 2022 11:33 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; rguent...@suse.de > Subject: Re: [PATCH 1/8]middle-end: Recognize scalar reductions from > bitfields and array_refs >

Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-05 Thread Richard Biener via Gcc-patches
On Mon, Oct 31, 2022 at 1:00 PM Tamar Christina via Gcc-patches wrote: > > Hi All, > > This patch series is to add recognition of pairwise operations (reductions) > in match.pd such that we can benefit from them even at -O1 when the vectorizer > isn't enabled. > > Ths use of these allow for a lot

Re: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-10-31 Thread Jeff Law via Gcc-patches
On 10/31/22 05:56, Tamar Christina wrote: Hi All, This patch series is to add recognition of pairwise operations (reductions) in match.pd such that we can benefit from them even at -O1 when the vectorizer isn't enabled. Ths use of these allow for a lot simpler codegen in AArch64 and allows us

[PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-10-31 Thread Tamar Christina via Gcc-patches
Hi All, This patch series is to add recognition of pairwise operations (reductions) in match.pd such that we can benefit from them even at -O1 when the vectorizer isn't enabled. Ths use of these allow for a lot simpler codegen in AArch64 and allows us to avoid quite a lot of codegen warts. As an