Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2018-01-11 Thread Jeff Law
On 01/10/2018 01:10 AM, Richard Biener wrote: > On Tue, 9 Jan 2018, Jeff Law wrote: > >> On 01/05/2018 02:01 AM, Richard Biener wrote: >>> On Tue, 28 Nov 2017, Richard Biener wrote: >>> The following adds a new target hook, targetm.vectorize.split_reduction, which allows the target

Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2018-01-11 Thread Richard Biener
On Wed, 10 Jan 2018, Richard Biener wrote: > On Tue, 9 Jan 2018, Jeff Law wrote: > > > On 01/05/2018 02:01 AM, Richard Biener wrote: > > > On Tue, 28 Nov 2017, Richard Biener wrote: > > > > > >> > > >> The following adds a new target hook, targetm.vectorize.split_reduction, > > >> which allows t

Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2018-01-10 Thread Richard Biener
On Tue, 9 Jan 2018, Jeff Law wrote: > On 01/05/2018 02:01 AM, Richard Biener wrote: > > On Tue, 28 Nov 2017, Richard Biener wrote: > > > >> > >> The following adds a new target hook, targetm.vectorize.split_reduction, > >> which allows the target to specify a preferred mode to perform the > >> fi

Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2018-01-09 Thread Jeff Law
On 01/05/2018 02:01 AM, Richard Biener wrote: > On Tue, 28 Nov 2017, Richard Biener wrote: > >> >> The following adds a new target hook, targetm.vectorize.split_reduction, >> which allows the target to specify a preferred mode to perform the >> final reducion on using either vector shifts or scala

Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2018-01-05 Thread Richard Biener
On Tue, 28 Nov 2017, Richard Biener wrote: > > The following adds a new target hook, targetm.vectorize.split_reduction, > which allows the target to specify a preferred mode to perform the > final reducion on using either vector shifts or scalar extractions. > Up to that mode the vector reduction

Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2017-12-05 Thread Richard Biener
On December 5, 2017 9:18:46 PM GMT+01:00, Jeff Law wrote: >On 11/28/2017 08:15 AM, Richard Biener wrote: >> >> The following adds a new target hook, >targetm.vectorize.split_reduction, >> which allows the target to specify a preferred mode to perform the >> final reducion on using either vector s

Re: [PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2017-12-05 Thread Jeff Law
On 11/28/2017 08:15 AM, Richard Biener wrote: > > The following adds a new target hook, targetm.vectorize.split_reduction, > which allows the target to specify a preferred mode to perform the > final reducion on using either vector shifts or scalar extractions. > Up to that mode the vector reducti

[PATCH] Fix PR80846, change vectorizer reduction epilogue (on x86)

2017-11-28 Thread Richard Biener
The following adds a new target hook, targetm.vectorize.split_reduction, which allows the target to specify a preferred mode to perform the final reducion on using either vector shifts or scalar extractions. Up to that mode the vector reduction result is reduced by combining lowparts and highparts