Announcement

Collapse
No announcement yet.

GCC 12 Looking At Enabling Its Vectorizer For "-O2" Optimization Level

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    brucethemoose
    Phoronix Member

  • brucethemoose
    replied
    Originally posted by perpetually high View Post
    I'm still using gcc 9.3.0 (9.3.0-17ubuntu1~20.04) for my i5-4670K Haswell. Stupid move? Feels like maybe the best compiler for this chip but if anyone strongly disagrees, do share.
    Thats an AVX2 chip. You would definitely benefit from a newer compiler, or better yet, the x86-64-V3 repo if you're on Arch.

    Leave a comment:

  • perpetually high
    Senior Member

  • perpetually high
    replied
    I'm still using gcc 9.3.0 (9.3.0-17ubuntu1~20.04) for my i5-4670K Haswell. Stupid move? Feels like maybe the best compiler for this chip but if anyone strongly disagrees, do share.

    edit: someone asked why an old compiler would be best for any chip. My answer is that the optimizations are likely not coming in for Haswell anymore, and more code = longer execution time on stuff you don't need or gonna use. So I might as well use the last, greatest, stable version (9.3.0 in my case) instead of the bleeding edge 10/11/12. Put dumbly, of course. I'd love to be corrected.
    perpetually high
    Senior Member
    Last edited by perpetually high; 03 September 2021, 01:18 AM.

    Leave a comment:

  • jacob
    Senior Member

  • jacob
    replied
    Which architectures will it support?

    Leave a comment:

  • phoronix
    Administrator

  • GCC 12 Looking At Enabling Its Vectorizer For "-O2" Optimization Level

    Phoronix: GCC 12 Looking At Enabling Its Vectorizer For "-O2" Optimization Level

    The GCC compiler when using the default "-O2" optimization level is likely to be slightly faster with next year's GCC 12 release as the developers are looking at enabling the vectorizer options by default...

    https://www.phoronix.com/scan.php?pa...orization-Talk
Working...
X