Re: Handle vector boolean types when calculating the SLP unroll factor

2018-05-15 Thread Richard Biener
On Thu, May 10, 2018 at 8:31 AM Richard Sandiford < richard.sandif...@linaro.org> wrote: > Richard Biener writes: > > On Wed, May 9, 2018 at 1:29 PM, Richard Sandiford > > wrote: > >> Richard Biener writes: > >>> On Wed, May 9, 2018 at 12:34 PM, Richard Sandiford > >>> wrote: > The SLP un

Re: Handle vector boolean types when calculating the SLP unroll factor

2018-05-09 Thread Richard Sandiford
Richard Biener writes: > On Wed, May 9, 2018 at 1:29 PM, Richard Sandiford > wrote: >> Richard Biener writes: >>> On Wed, May 9, 2018 at 12:34 PM, Richard Sandiford >>> wrote: The SLP unrolling factor is calculated by finding the smallest scalar type for each SLP statement and taking

Re: Handle vector boolean types when calculating the SLP unroll factor

2018-05-09 Thread Richard Biener
On Wed, May 9, 2018 at 1:29 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Wed, May 9, 2018 at 12:34 PM, Richard Sandiford >> wrote: >>> The SLP unrolling factor is calculated by finding the smallest >>> scalar type for each SLP statement and taking the number of required >>> lanes

Re: Handle vector boolean types when calculating the SLP unroll factor

2018-05-09 Thread Richard Sandiford
Richard Biener writes: > On Wed, May 9, 2018 at 12:34 PM, Richard Sandiford > wrote: >> The SLP unrolling factor is calculated by finding the smallest >> scalar type for each SLP statement and taking the number of required >> lanes from the vector versions of those scalar types. E.g. for an >> i

Re: Handle vector boolean types when calculating the SLP unroll factor

2018-05-09 Thread Richard Biener
On Wed, May 9, 2018 at 12:34 PM, Richard Sandiford wrote: > The SLP unrolling factor is calculated by finding the smallest > scalar type for each SLP statement and taking the number of required > lanes from the vector versions of those scalar types. E.g. for an > int32->int64 conversion, it's the

Handle vector boolean types when calculating the SLP unroll factor

2018-05-09 Thread Richard Sandiford
The SLP unrolling factor is calculated by finding the smallest scalar type for each SLP statement and taking the number of required lanes from the vector versions of those scalar types. E.g. for an int32->int64 conversion, it's the vector of int32s rather than the vector of int64s that determines