public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64
@ 2024-03-21 9:34 pheeck at gcc dot gnu.org
2024-03-21 9:44 ` [Bug target/114412] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: pheeck at gcc dot gnu.org @ 2024-03-21 9:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
Bug ID: 114412
Summary: [14 Regression] 7% slowdown of 436.cactusADM on
aarch64
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: missed-optimization, needs-bisection
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pheeck at gcc dot gnu.org
Blocks: 26163
Target Milestone: ---
Host: aarch64-gnu-linux
Target: aarch64-gnu-linux
As seen here
https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=586.100.0
there is a 7% execution time slowdown of the 436.cactusADM SPEC 2006 benchmark
between commits
g:2d8cd712b17e88f2
g:46666b9bde5903d8
The compilation options are: -Ofast -march=native -mtune=native -flto PGO.
The CPU is Ampere Altra - Neoverse N1.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114412] [14 Regression] 7% slowdown of 436.cactusADM on aarch64
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
@ 2024-03-21 9:44 ` rguenth at gcc dot gnu.org
2024-03-22 12:35 ` law at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-03-21 9:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Compared to GCC 13 (~april in the graph) it's even 16% combined.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114412] [14 Regression] 7% slowdown of 436.cactusADM on aarch64
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
2024-03-21 9:44 ` [Bug target/114412] " rguenth at gcc dot gnu.org
@ 2024-03-22 12:35 ` law at gcc dot gnu.org
2024-05-07 7:45 ` [Bug target/114412] [14/15 " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-22 12:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
CC| |law at gcc dot gnu.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114412] [14/15 Regression] 7% slowdown of 436.cactusADM on aarch64
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
2024-03-21 9:44 ` [Bug target/114412] " rguenth at gcc dot gnu.org
2024-03-22 12:35 ` law at gcc dot gnu.org
@ 2024-05-07 7:45 ` rguenth at gcc dot gnu.org
2024-05-13 10:55 ` tnfchris at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-07 7:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.0 |14.2
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 14.1 is being released, retargeting bugs to GCC 14.2.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114412] [14/15 Regression] 7% slowdown of 436.cactusADM on aarch64
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
` (2 preceding siblings ...)
2024-05-07 7:45 ` [Bug target/114412] [14/15 " rguenth at gcc dot gnu.org
@ 2024-05-13 10:55 ` tnfchris at gcc dot gnu.org
2024-05-14 8:50 ` pheeck at gcc dot gnu.org
2024-05-16 17:09 ` tnfchris at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2024-05-13 10:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
Tamar Christina <tnfchris at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tnfchris at gcc dot gnu.org
--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Hi Filip,
Do you generate these runs with counters based PGO or compiler instrumentation?
Just so I know before I start trying to reproduce them.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114412] [14/15 Regression] 7% slowdown of 436.cactusADM on aarch64
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
` (3 preceding siblings ...)
2024-05-13 10:55 ` tnfchris at gcc dot gnu.org
@ 2024-05-14 8:50 ` pheeck at gcc dot gnu.org
2024-05-16 17:09 ` tnfchris at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pheeck at gcc dot gnu.org @ 2024-05-14 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
--- Comment #4 from Filip Kastl <pheeck at gcc dot gnu.org> ---
(In reply to Tamar Christina from comment #3)
> Hi Filip,
>
> Do you generate these runs with counters based PGO or compiler
> instrumentation?
>
> Just so I know before I start trying to reproduce them.
Hi Tamar,
By counters you mean some sort of hardware counters? I didn't know there were
multiple ways to do PGO with GCC.
I think that the answer to your question is "compiler instrumentation". I just
do -fprofile-generate, run the instrumented binary and then -fprofile-use.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/114412] [14/15 Regression] 7% slowdown of 436.cactusADM on aarch64
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
` (4 preceding siblings ...)
2024-05-14 8:50 ` pheeck at gcc dot gnu.org
@ 2024-05-16 17:09 ` tnfchris at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2024-05-16 17:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412
--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
(In reply to Filip Kastl from comment #4)
> (In reply to Tamar Christina from comment #3)
> > Hi Filip,
> >
> > Do you generate these runs with counters based PGO or compiler
> > instrumentation?
> >
> > Just so I know before I start trying to reproduce them.
>
> Hi Tamar,
>
> By counters you mean some sort of hardware counters? I didn't know there
> were multiple ways to do PGO with GCC.
>
> I think that the answer to your question is "compiler instrumentation". I
> just do -fprofile-generate, run the instrumented binary and then
> -fprofile-use.
Yeah, with some elbow grease the perf record method works too, but it's not
very accurate on Armv8.
I'll try to reproduce and bisect these over the weekend!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-05-16 17:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21 9:34 [Bug target/114412] New: [14 Regression] 7% slowdown of 436.cactusADM on aarch64 pheeck at gcc dot gnu.org
2024-03-21 9:44 ` [Bug target/114412] " rguenth at gcc dot gnu.org
2024-03-22 12:35 ` law at gcc dot gnu.org
2024-05-07 7:45 ` [Bug target/114412] [14/15 " rguenth at gcc dot gnu.org
2024-05-13 10:55 ` tnfchris at gcc dot gnu.org
2024-05-14 8:50 ` pheeck at gcc dot gnu.org
2024-05-16 17:09 ` tnfchris 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).