Re: [PATCH][3/3] Consider multiple vector sizes for vectorization based on cost

2018-06-25 Thread Richard Biener
On Fri, 22 Jun 2018, Richard Biener wrote: > > The following makes the vectorizer consider all vector sizes as advertised > by targetm.vectorize.autovectorize_vector_sizes and decide on which > vector size to use based on costs. > > Given comparing costs is difficult if you do not know the numbe

[PATCH][3/3] Consider multiple vector sizes for vectorization based on cost

2018-06-22 Thread Richard Biener
The following makes the vectorizer consider all vector sizes as advertised by targetm.vectorize.autovectorize_vector_sizes and decide on which vector size to use based on costs. Given comparing costs is difficult if you do not know the number of scalar iterations the patch simply uses the cost o