public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/107409] New: Perf loss ~5% on 519.lbm_r SPEC cpu2017 benchmark
@ 2022-10-26  9:05 rvmallad at amazon dot com
  2022-10-26  9:20 ` [Bug tree-optimization/107409] " rvmallad at amazon dot com
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: rvmallad at amazon dot com @ 2022-10-26  9:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107409
           Summary: Perf loss ~5% on 519.lbm_r SPEC cpu2017 benchmark
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rvmallad at amazon dot com
  Target Milestone: ---

Created attachment 53773
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53773&action=edit
Input and source files.

Below is some perf data executing the 519.lbm_r benchmark on aarch64
architecture (Graviton 3 processor). I have comparison of the baseline perf
(mainline commit ID: f56d48b2471c388401174029324e1f4c4b84fcdb) vs. a fix for
the same (revert the code change in commit ID:
a9a4edf0e71bbac9f1b5dcecdcf9250111d16889).

Steps to compile:
$ gcc -std=c99 -mabi=lp64 -g -Ofast -mcpu=native lbm.i main.i -lm -flto -o
519_lbm_r_base

$ time ./519_lbm_r_base 3000 reference.dat 0 0 100_100_130_ldc.of
real    2m50.946s

Reverting the code changes in commit ID:
a9a4edf0e71bbac9f1b5dcecdcf9250111d16889
$ time ./519_lbm_r_fix 3000 reference.dat 0 0 100_100_130_ldc.of
real    2m42.091s

The code change reverted was in the following file:
* tree-cfg.c (execute_fixup_cfg): Update also max_bb_count when scaling happen.

Author: Jan Hubicka <hubicka@ucw.cz>
Date:   Sat Nov 30 22:25:24 2019 +0100

Please find attached the files to reproduce this issue and the fix.

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

end of thread, other threads:[~2023-03-30  7:52 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26  9:05 [Bug tree-optimization/107409] New: Perf loss ~5% on 519.lbm_r SPEC cpu2017 benchmark rvmallad at amazon dot com
2022-10-26  9:20 ` [Bug tree-optimization/107409] " rvmallad at amazon dot com
2022-10-27  8:08 ` marxin at gcc dot gnu.org
2022-10-27  8:13 ` marxin at gcc dot gnu.org
2022-10-27  8:15 ` rvmallad at amazon dot com
2022-10-27  8:28 ` marxin at gcc dot gnu.org
2022-10-27 12:08 ` rvmallad at amazon dot com
2022-10-27 12:18 ` mark at gcc dot gnu.org
2022-10-27 12:21 ` rvmallad at amazon dot com
2022-12-01  6:54 ` [Bug tree-optimization/107409] Perf loss ~5% on 519.lbm_r SPEC cpu2017 benchmark with r10-5090-ga9a4edf0e71bba rvmallad at amazon dot com
2022-12-01 10:09 ` marxin at gcc dot gnu.org
2022-12-08 10:32 ` rvmallad at amazon dot com
2022-12-09  9:48 ` rvmallad at amazon dot com
2022-12-09 10:05 ` marxin at gcc dot gnu.org
2022-12-12  9:48 ` rvmallad at amazon dot com
2023-01-09  4:38 ` rvmallad at amazon dot com
2023-01-09  8:41 ` marxin at gcc dot gnu.org
2023-01-30 18:15 ` jamborm at gcc dot gnu.org
2023-02-02 21:35 ` spop at gcc dot gnu.org
2023-02-03  2:00 ` rvmallad at amazon dot com
2023-02-20  3:57 ` rvmallad at amazon dot com
2023-02-24 10:26 ` rvmallad at amazon dot com
2023-03-30  4:56 ` rvmallad at amazon dot com
2023-03-30  4:58 ` rvmallad at amazon dot com
2023-03-30  7:52 ` marxin 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).