This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/47298] -O3 destroys beautifully vectorized code obtained at -O2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47298

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-05 08:38:05 UTC ---
It's a pass ordering issue, cunrolli also can tremendously help vectorization
because it enables vectorization of the loop that is then the innermost loop
after unrolling.  It also helps exposing redunancies as you can trivially
see in SPEC CPU 2006 calculix (gfortran.dg/reassoc_4.f).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]