Re: Add an empty_mask_is_expensive hook

2018-01-07 Thread James Greenhalgh
On Fri, Nov 17, 2017 at 06:12:49PM +, Jeff Law wrote: > On 11/17/2017 08:15 AM, Richard Sandiford wrote: > > This patch adds a hook to control whether we avoid executing masked > > (predicated) stores when the mask is all false. We don't want to do > > that by default for SVE. > > > > Tested

Re: Add an empty_mask_is_expensive hook

2017-11-17 Thread Jeff Law
On 11/17/2017 08:15 AM, Richard Sandiford wrote: > This patch adds a hook to control whether we avoid executing masked > (predicated) stores when the mask is all false. We don't want to do > that by default for SVE. > > Tested on aarch64-linux-gnu (with and without SVE), x86_64-linux-gnu > and po

Add an empty_mask_is_expensive hook

2017-11-17 Thread Richard Sandiford
This patch adds a hook to control whether we avoid executing masked (predicated) stores when the mask is all false. We don't want to do that by default for SVE. Tested on aarch64-linux-gnu (with and without SVE), x86_64-linux-gnu and powerpc64le-linux-gnu. OK to install? Richard 2017-11-17 R