Re: [PATCH 2/8]middle-end: Recognize scalar widening reductions

2022-11-07 Thread Richard Biener via Gcc-patches
On Mon, 31 Oct 2022, Tamar Christina wrote: > Hi All, > > This adds a new optab and IFNs for REDUC_PLUS_WIDEN where the resulting > scalar reduction has twice the precision of the input elements. > > At some point in a later patch I will also teach the vectorizer to recognize > this builtin once

Re: [PATCH 2/8]middle-end: Recognize scalar widening reductions

2022-10-31 Thread Jeff Law via Gcc-patches
On 10/31/22 05:57, Tamar Christina wrote: Hi All, This adds a new optab and IFNs for REDUC_PLUS_WIDEN where the resulting scalar reduction has twice the precision of the input elements. At some point in a later patch I will also teach the vectorizer to recognize this builtin once I figure out

[PATCH 2/8]middle-end: Recognize scalar widening reductions

2022-10-31 Thread Tamar Christina via Gcc-patches
Hi All, This adds a new optab and IFNs for REDUC_PLUS_WIDEN where the resulting scalar reduction has twice the precision of the input elements. At some point in a later patch I will also teach the vectorizer to recognize this builtin once I figure out how the various bits of reductions work. For