http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41115
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-28 23:08:00 UTC --- (In reply to comment #3) > It would be nice to see where we are today with respect to the cost model / > vectorizing / not vectorizing. Answer: It became much worse (compared to GCC 4.5 of comment 0): Using gcc version 4.8.0 20130308 [trunk revision 196547], the induct runtimes are: gfortran -march=native -ffast-math -O3 -ftree-vectorize -fvect-cost-model induct.f90 real 0m47.142s / user 0m47.072s / sys 0m0.020s gfortran-4.8 -march=native -ffast-math -O3 -ftree-vectorize -fno-vect-cost-model induct.f90 real 0m35.713s / user 0m35.236s / sys 0m0.052s time gfortran-4.8 -march=native -ffast-math -O3 -fno-tree-vectorize induct.f90 real 0m47.837s / user 0m47.388s / sys 0m0.028s real 0m47.514s / user 0m47.428s / sys 0m0.044s gfortran -march=opteron -ffast-math -funroll-loops -fno-tree-vectorize -ftree-loop-linear -msse3 -O3 induct.f90 real 0m44.676s / user 0m44.640s / sys 0m0.032s gfortran-4.5 -march=opteron -ffast-math -funroll-loops -fno-tree-vectorize -ftree-loop-linear -msse3 -O3 induct.f90; time ./a.out real 0m34.591s / user 0m34.524s / sys 0m0.020s