Bug 109130 - [13/14/15 Regression] 464.h264ref regressed by 6.5% on a Neoverse-N1 CPU with PGO, LTO, -Ofast and -march=native
Summary: [13/14/15 Regression] 464.h264ref regressed by 6.5% on a Neoverse-N1 CPU with...
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 13.0
: P2 normal
Target Milestone: 13.4
Assignee: Not yet assigned to anyone
URL:
Keywords: missed-optimization
Depends on:
Blocks: spec
  Show dependency treegraph
 
Reported: 2023-03-14 17:03 UTC by Martin Jambor
Modified: 2024-05-21 09:14 UTC (History)
4 users (show)

See Also:
Host: aarch64-suse-linux
Target: aarch64-suse-linux
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jambor 2023-03-14 17:03:42 UTC
LNT shows what looks like a clear recent 6.5% regression on the
464.h264ref benchmark from SPEC 2006 CPU suite when compiled with
PGO, LTO, -Ofast and -march=native on a Neoverse-N1 CPU:

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

In the same time period, I cannot (immediately) see any similar
regressions on any other CPU (all others that we monitor are x86_64)
or option combination.

Unfortunately I don't have the time and resources to further
investigate, but the commit range bad177e848787258..2fc55f51f9953b45
includes 8e26ac4749c (AArch64: Fix codegen regressions around tbz),
among other things.
Comment 1 Tamar Christina 2023-03-15 12:56:29 UTC
I can't reproduce that. on a Neoverse-N1 I see between those two commits:

./bench-compare.sh 2fc55f51f99 bad177e8487
A       1457 files
D       0 files
M       0 files
Extracted 'loose/2fc55f51f99:2fc55f51f99'
A       1457 files
D       0 files
M       0 files
Extracted 'loose/bad177e8487:bad177e8487'

difference: 0.083458946886789971215830257097%

Compiled with -Ofast -march=native -g -flto=auto and PGO enabled. as extracted from https://lnt.opensuse.org/db_default/v4/SPEC/34263?show_stddev=yes&show_all=yes&show_all_samples=yes&num_comparison_runs=0&test_filter=&test_min_value_filter=&aggregation_fn=min&MW_confidence_lv=0.05&compare_to=34183&baseline=23835&submit=Update

our non PGO runs also didn't see a regression.
Comment 2 Richard Biener 2023-04-26 06:58:06 UTC
GCC 13.1 is being released, retargeting bugs to GCC 13.2.
Comment 3 Richard Biener 2023-07-27 09:25:37 UTC
GCC 13.2 is being released, retargeting bugs to GCC 13.3.
Comment 4 Jakub Jelinek 2024-05-21 09:14:29 UTC
GCC 13.3 is being released, retargeting bugs to GCC 13.4.