Announcement

Collapse
No announcement yet.

GCC 10 vs. GCC 11 Compiler Performance On AMD Zen 3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GCC 10 vs. GCC 11 Compiler Performance On AMD Zen 3

    Phoronix: GCC 10 vs. GCC 11 Compiler Performance On AMD Zen 3

    After recently looking at the early LLVM Clang 12 compiler performance on the AMD Ryzen 9 5950X, in today's benchmarking is a look at how the GCC 11 compiler performance is looking in its near final state compared to GCC 10 under a variety of build CFLAGS/CXXFLAGS configurations on the AMD Zen 3 desktop.

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    why no
    Code:
    -O3 -march=x86-64 -flto
    ?

    Comment


    • #3
      Have you considered doing RAM usage benchmarks along with compilations times? It would be very interesting to know how it changes across GCC versions / compiler options.

      Comment


      • #4
        i wonder how graphicsmagick would respond to lto+pgo

        Comment


        • #5
          gcc11 does not handle this very well (false warning)
          sprintf(x,"%04d/%02d/%02d@%02d:%02d:%02d",dy,dm,dd,th,tm,ts);
          all variabls are unsigned. except x[20]
          says I am overflowing the field widths.
          x is "2021/02/25@11:09:28" //19 bytes plus null

          clang does it without complaining.

          Comment

          Working...
          X