Re: Allow single-element interleaving for non-power-of-2 strides

2018-01-15 Thread Christophe Lyon
On 7 January 2018 at 21:55, James Greenhalgh wrote: > On Fri, Nov 17, 2017 at 06:40:13PM +, Jeff Law wrote: >> On 11/17/2017 08:33 AM, Richard Sandiford wrote: >> > This allows LD3 to be used for isolated a[i * 3] accesses, in a similar >> > way to the current a[i *

Re: Allow single-element interleaving for non-power-of-2 strides

2018-01-07 Thread James Greenhalgh
On Fri, Nov 17, 2017 at 06:40:13PM +, Jeff Law wrote: > On 11/17/2017 08:33 AM, Richard Sandiford wrote: > > This allows LD3 to be used for isolated a[i * 3] accesses, in a similar > > way to the current a[i * 2] and a[i * 4] for LD2 and LD4 respectively. > > Given the problems with the cost

Re: Allow single-element interleaving for non-power-of-2 strides

2017-11-17 Thread Jeff Law
On 11/17/2017 08:33 AM, Richard Sandiford wrote: > This allows LD3 to be used for isolated a[i * 3] accesses, in a similar > way to the current a[i * 2] and a[i * 4] for LD2 and LD4 respectively. > Given the problems with the cost model underestimating the cost of > elementwise accesses, the patch

Allow single-element interleaving for non-power-of-2 strides

2017-11-17 Thread Richard Sandiford
This allows LD3 to be used for isolated a[i * 3] accesses, in a similar way to the current a[i * 2] and a[i * 4] for LD2 and LD4 respectively. Given the problems with the cost model underestimating the cost of elementwise accesses, the patch continues to reject the VMAT_ELEMENTWISE cases that are