public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110015] New: openjpeg is slower when built with gcc13 compared to clang16 Date: Sun, 28 May 2023 19:15:01 +0000 [thread overview] Message-ID: <bug-110015-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110015 Bug ID: 110015 Summary: openjpeg is slower when built with gcc13 compared to clang16 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- I tried to reproduce openjpeg benchmarks from Phoronix https://www.phoronix.com/review/gcc13-clang16-raptorlake/5 On zen3 hardware I get 42607ms for clang build and 45702ms for gcc build that is a 7% difference (Phoronix reports 10% on RaptorLake) perf of clang build: 88.64% opj_t1_cblk_encode_processor 6.68% opj_dwt_encode_and_deinterleave_v 1.30% opj_dwt_encode_and_deinterleave_h_one_row opj_t1_cblk_encode_processor is huge with no obvious hot spots. perf of gcc build: 70.36% opj_t1_cblk_encode_processor 16.12% opj_t1_enc_refpass.lto_priv.0 3.88% opj_dwt_encode_and_deinterleave_v 2.46% pj_dwt_fetch_cols_vertical_pass 2.35% opj_mqc_byteout So we apparently inline less even at -O3
next reply other threads:[~2023-05-28 19:15 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-28 19:15 hubicka at gcc dot gnu.org [this message] 2023-05-28 19:42 ` [Bug middle-end/110015] " hubicka at gcc dot gnu.org 2023-10-31 12:08 ` zhangjungcc at gmail dot com 2023-11-01 1:15 ` crazylht at gmail dot com 2023-11-01 1:28 ` crazylht at gmail dot com 2023-11-07 1:12 ` pinskia at gcc dot gnu.org 2023-11-07 2:14 ` pinskia at gcc dot gnu.org 2023-11-07 2:14 ` pinskia at gcc dot gnu.org 2023-11-07 2:42 ` pinskia at gcc dot gnu.org 2023-11-07 2:50 ` pinskia at gcc dot gnu.org 2023-11-24 23:22 ` hubicka at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-110015-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).