https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119009
Bug ID: 119009
Summary: AArch64: Commit 'Node clones share order' causes
regression in Snappy workload for -mcpu=neoverse-v2
with LTO
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: jschmitz at gcc dot gnu.org
CC: mjires at gcc dot gnu.org
Target Milestone: ---
Target: aarch64
Created attachment 60581
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60581&action=edit
Script to reproduce snappy regression
The commit 'Node clones share order'
(https://gcc.gnu.org/g:0895aef01c64c317b489811dbe4ac55f9c13aab3) causes a
performance regression in the Snappy workload for AArch64 with
-mcpu=neoverse-v2 and LTO: the test UIOVecSink/0 shows ~25% longer runtime.
In the attachment is a script to reproduce the regression. It builds GCC from
commits bad3714b and 0895aef0 and runs Snappy with
O3 -Wl,-z,muldefs -lm -flto=auto -Wl,-sort-section=name -mcpu=neoverse-v2
Use the script like this:
parentdir=<path/to/gcc_src/parentdir> ./instructions_to_reproduce.sh