Bug 114481

Summary: 14% exec time slowdown of 433.milc on aarch64
Product: gcc Reporter: Filip Kastl <pheeck>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: rsandifo
Priority: P3 Keywords: missed-optimization, needs-bisection
Version: 14.0   
Target Milestone: 14.2   
Host: aarch64-gnu-linux Target: aarch64-gnu-linux
Build: Known to work:
Known to fail: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 26163    

Description Filip Kastl 2024-03-26 11:59:59 UTC
As seen here

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

between the commits

g:8b483cd5521de79c
g:81ee1298b47d3f3b

there was an 14% runtime slowdown of 433.milc on aarch64. The CPU is Ampere Altra Neoverse N1. The compilation options were -O2 -flto PGO.

---

Btw here is a plot that also includes GCC13 and GCC12.

https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=686.70.0&plot.4=749.70.0&plot.5=869.70.0
Comment 1 Richard Biener 2024-03-27 08:37:52 UTC
Looks like speed is back to 12/13, so possibly not a regression.
Comment 2 Filip Kastl 2024-03-28 10:31:56 UTC
(In reply to Richard Biener from comment #1)
> Looks like speed is back to 12/13, so possibly not a regression.

Ah, I misunderstood what [14 Regression] means exactly. I'll remove it from the bug's name.
Comment 3 Richard Biener 2024-05-07 07:45:32 UTC
GCC 14.1 is being released, retargeting bugs to GCC 14.2.
Comment 4 Andrew Pinski 2024-07-04 02:21:25 UTC
Fixed on the trunk.

https://lnt.opensuse.org/db_default/v4/SPEC/49223