Re: Add support for reductions in fully-masked loops

2018-01-15 Thread Christophe Lyon
Hi Richard, On 7 January 2018 at 21:35, James Greenhalgh wrote: > On Wed, Dec 13, 2017 at 04:34:34PM +, Jeff Law wrote: >> On 11/17/2017 07:59 AM, Richard Sandiford wrote: >> > This patch removes the restriction that fully-masked loops cannot >> > have reductions. The key thing here is to m

Re: Add support for reductions in fully-masked loops

2018-01-07 Thread James Greenhalgh
On Wed, Dec 13, 2017 at 04:34:34PM +, Jeff Law wrote: > On 11/17/2017 07:59 AM, Richard Sandiford wrote: > > This patch removes the restriction that fully-masked loops cannot > > have reductions. The key thing here is to make sure that the > > reduction accumulator doesn't include any values a

Re: Add support for reductions in fully-masked loops

2017-12-13 Thread Jeff Law
On 11/17/2017 07:59 AM, Richard Sandiford wrote: > This patch removes the restriction that fully-masked loops cannot > have reductions. The key thing here is to make sure that the > reduction accumulator doesn't include any values associated with > inactive lanes; the patch adds a bunch of conditi

Add support for reductions in fully-masked loops

2017-11-17 Thread Richard Sandiford
This patch removes the restriction that fully-masked loops cannot have reductions. The key thing here is to make sure that the reduction accumulator doesn't include any values associated with inactive lanes; the patch adds a bunch of conditional binary operations for doing that. Tested on aarch64