public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4
@ 2023-12-06 11:09 fkastl at suse dot cz
  2023-12-06 11:37 ` [Bug target/112879] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fkastl at suse dot cz @ 2023-12-06 11:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112879
           Summary: [14 Regression] 4% exec time regression of 525.x264_r
                    on AMD Zen4
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: needs-bisection
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fkastl at suse dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

There's a 4% slowdown of 525.x264_r on AMD Zen4 between commits

g:af7fa3135b6b046f

g:e85c596ae2d1e5f5

Here is a plot showing this regression:

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

I've seen this regression on two different Zen4 machines but haven't observed
it on machines with different architecture.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/112879] [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4
  2023-12-06 11:09 [Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4 fkastl at suse dot cz
@ 2023-12-06 11:37 ` rguenth at gcc dot gnu.org
  2023-12-06 12:19 ` liuhongt at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-12-06 11:37 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
                 CC|                            |liuhongt at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Possibly the reduc_* support in the backend now BB vectorizes unprofitable
cases.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/112879] [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4
  2023-12-06 11:09 [Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4 fkastl at suse dot cz
  2023-12-06 11:37 ` [Bug target/112879] " rguenth at gcc dot gnu.org
@ 2023-12-06 12:19 ` liuhongt at gcc dot gnu.org
  2024-02-13 10:13 ` pheeck at gcc dot gnu.org
  2024-02-13 10:14 ` pheeck at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2023-12-06 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Possibly the reduc_* support in the backend now BB vectorizes unprofitable
> cases.

maybe zmm reduction, and we should have reasonable cost for reduction
vec_to_scalar.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/112879] [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4
  2023-12-06 11:09 [Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4 fkastl at suse dot cz
  2023-12-06 11:37 ` [Bug target/112879] " rguenth at gcc dot gnu.org
  2023-12-06 12:19 ` liuhongt at gcc dot gnu.org
@ 2024-02-13 10:13 ` pheeck at gcc dot gnu.org
  2024-02-13 10:14 ` pheeck at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pheeck at gcc dot gnu.org @ 2024-02-13 10:13 UTC (permalink / raw)
  To: gcc-bugs

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

Filip Kastl <pheeck at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Filip Kastl <pheeck at gcc dot gnu.org> ---
This slowdown is also reported in pr113600 along with two other configurations
where the slowdown occurs. It could be possible that these three configurations
are different slowdowns with different causes. I find that unlikely though.
I've even bisected this LTO PGO slowdown to the same commit as Martin Jambor
did with the PGO slowdown (r14-5603-g2b59e2b4dff421).

So I'm marking this as a duplicate of pr113600.

*** This bug has been marked as a duplicate of bug 113600 ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/112879] [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4
  2023-12-06 11:09 [Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4 fkastl at suse dot cz
                   ` (2 preceding siblings ...)
  2024-02-13 10:13 ` pheeck at gcc dot gnu.org
@ 2024-02-13 10:14 ` pheeck at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pheeck at gcc dot gnu.org @ 2024-02-13 10:14 UTC (permalink / raw)
  To: gcc-bugs

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

Filip Kastl <pheeck at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |

--- Comment #4 from Filip Kastl <pheeck at gcc dot gnu.org> ---
This slowdown is also reported in pr113600 along with two other configurations
where the slowdown occurs. It could be possible that these three configurations
are different slowdowns with different causes. I find that unlikely though.
I've even bisected this LTO PGO slowdown to the same commit as Martin Jambor
did with the PGO slowdown (r14-5603-g2b59e2b4dff421).

So I'm marking this as a duplicate of pr113600.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-13 10:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06 11:09 [Bug target/112879] New: [14 Regression] 4% exec time regression of 525.x264_r on AMD Zen4 fkastl at suse dot cz
2023-12-06 11:37 ` [Bug target/112879] " rguenth at gcc dot gnu.org
2023-12-06 12:19 ` liuhongt at gcc dot gnu.org
2024-02-13 10:13 ` pheeck at gcc dot gnu.org
2024-02-13 10:14 ` pheeck at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).