Re: SLP reductions with variable-length vectors

2018-01-07 Thread James Greenhalgh
On Thu, Dec 14, 2017 at 12:43:11AM +, Jeff Law wrote: > On 11/22/2017 11:10 AM, Richard Sandiford wrote: > > Richard Sandiford <richard.sandif...@linaro.org> writes: > >> Two things stopped us using SLP reductions with variable-length vectors: > >> > >>

Re: SLP reductions with variable-length vectors

2017-12-13 Thread Jeff Law
On 11/22/2017 11:10 AM, Richard Sandiford wrote: > Richard Sandiford <richard.sandif...@linaro.org> writes: >> Two things stopped us using SLP reductions with variable-length vectors: >> >> (1) We didn't have a way of constructing the initial vector. >> This p

Re: SLP reductions with variable-length vectors

2017-11-22 Thread Richard Sandiford
Richard Sandiford <richard.sandif...@linaro.org> writes: > Two things stopped us using SLP reductions with variable-length vectors: > > (1) We didn't have a way of constructing the initial vector. > This patch does it by creating a vector full of the neutral > identity

SLP reductions with variable-length vectors

2017-11-17 Thread Richard Sandiford
Two things stopped us using SLP reductions with variable-length vectors: (1) We didn't have a way of constructing the initial vector. This patch does it by creating a vector full of the neutral identity value and then using a shift-and-insert function to insert any non-identity inputs