[Bug target/77287] Much worse code generated compared to clang (stack alignment and spills)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 18 10:49:00 GMT 2016


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Try adding -march=intel or-mtune=intel . The default tuning for gcc is generic
which is combination of Intel and amd tuning. And because amd tuning needs not
to use gprs and SIMD registers at the same time spilling is faster there. It
tunes for that.


More information about the Gcc-bugs mailing list