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

            Bug ID: 129073
           Summary: [17 Regression] 5-11% slowdown of lbm on Zen5 since
                    r17-6686-g5ae6df447e12cb
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jmelcr at gcc dot gnu.org
                CC: rguenth 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 an 11% exec time slowdown of SPEC 2006 lbm on Zen5 when compiling
with -O2 -march=x86-64-v3 -g -flto=128:

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

I only managed to reproduce the slowdown with a 5% slowdown, hence the title.
The slowdown bisects to commit r17-6686-g5ae6df447e12cb:

commit 5ae6df447e12cbdfca0c65fa6341e161046df6b7
Author: Richard Biener <[email protected]>
Date:   Tue Nov 24 18:37:08 2026 +0100

    tree-optimization/128923 - improve BB SLP discovery for to-be-split graphs

This is a regression against GCC 16:

https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=1261.240.0&plot.1=1317.240.0&plot.2=1311.240.0&plot.3=1344.240.0&plot.4=1541.240.0&plot.5=1240.240.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