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

            Bug ID: 128781
           Summary: 10% slowdown of milc on Zen2 since
                    r17-5981-g78124a426ab72f
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jmelcr at gcc dot gnu.org
                CC: vmakarov at gcc dot gnu.org
            Blocks: 26163
  Target Milestone: ---
              Host: x86_64-suse-linux
            Target: x86_64-suse-linux
             Build: x86_64-suse-linux

I am seeing a 10% exec time slowdonw of SPEC 2006 milc when compiling with -O2
-g -flto=128 with PGO:

https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=685.70.0

The slowdown bisects to commit r17-5981-g78124a426ab72f:

78124a426ab72f0bc0bcb9301b7cc98b4db6db3a is the first 'bad' commit
commit 78124a426ab72f0bc0bcb9301b7cc98b4db6db3a
Author: Vladimir N. Makarov <[email protected]>
Date:   Thu Nov 5 07:40:39 2026 -0500

    [PR 128400][LRA]: Spill plus for memory only if there is no reg target

This is not a regression against GCC 16, it is however a regression against GCC
15:

https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=732.70.0&plot.1=734.70.0&plot.2=689.70.0&plot.3=746.70.0&plot.4=744.70.0&plot.5=762.70.0&plot.6=921.70.0&plot.7=1031.70.0&plot.8=1192.70.0&plot.9=1498.70.0&plot.10=685.70.0&;


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2026, 2k17, 2k and 2k6 and
95)

Reply via email to