> > Alternatively only enable loop vectorization at -O2 (the above checks > flag_tree_slp_vectorize as well). At least the cost model kind > does not have any influence on BB vectorization, that is, we get the > same pros and cons as we do for -O3. > > Did anyone benchmark -O2 -ftree-{loop,slp}-vectorize separately yet? I did last year and most perofmrance changes was tree-loop-vectorize as expected. I will re-run the benchmarks now. Honza > > Richard.