[Bug target/59371] [9/10/11/12 Regression] Performance regression in GCC 4.8/9/10/11/12 and later versions.

guojiufu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 17 02:57:49 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59371

Jiu Fu Guo <guojiufu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |guojiufu at gcc dot gnu.org

--- Comment #27 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
For -O2, since a few optimizations are not enabled (e.g. some loop-based
optimizations), the code was not optimized too much.

At -O3, now, GCC could vectorize it.  While with GCC 4.8, the code was not
vectorized.  I guess the pain in performance may be mitigated.


More information about the Gcc-bugs mailing list