public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/114468] New: unixbench compilation performance results vary with different gcc compilers @ 2024-03-25 13:31 jiangchuanganghw at outlook dot com 2024-03-25 14:01 ` [Bug target/114468] " pinskia at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: jiangchuanganghw at outlook dot com @ 2024-03-25 13:31 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114468 Bug ID: 114468 Summary: unixbench compilation performance results vary with different gcc compilers Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jiangchuanganghw at outlook dot com Target Milestone: --- We used Unixbench to compare gcc 10.3.0 with gcc8.5 on an intel Sapphire Rapids CPU and found that the performance of the dhry2reg test project compiled with gcc 10.3.0 deteriorated by about 10%. We found that this commit affected performance, and after rolling back the changes in that patch, performance was restored. https://github.com/gcc-mirror/gcc/commit/3133bed5d0327e8a9cd0a601b7ecdb9de4fc825d We expect to find the cause of this result.Looking forward to your help. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/114468] unixbench compilation performance results vary with different gcc compilers 2024-03-25 13:31 [Bug c/114468] New: unixbench compilation performance results vary with different gcc compilers jiangchuanganghw at outlook dot com @ 2024-03-25 14:01 ` pinskia at gcc dot gnu.org 2024-03-25 15:16 ` rguenth at gcc dot gnu.org 2024-03-25 23:25 ` [Bug target/114468] unixbench compilation performance results vary with different gcc compilers (r10-6804-g3133bed5d0327e) pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-25 14:01 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114468 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Gcc 10 is no longer supported. Can you test a newer gcc? Register allocation is always improving between versions so this might be already fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/114468] unixbench compilation performance results vary with different gcc compilers 2024-03-25 13:31 [Bug c/114468] New: unixbench compilation performance results vary with different gcc compilers jiangchuanganghw at outlook dot com 2024-03-25 14:01 ` [Bug target/114468] " pinskia at gcc dot gnu.org @ 2024-03-25 15:16 ` rguenth at gcc dot gnu.org 2024-03-25 23:25 ` [Bug target/114468] unixbench compilation performance results vary with different gcc compilers (r10-6804-g3133bed5d0327e) pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2024-03-25 15:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114468 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2024-03-25 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/114468] unixbench compilation performance results vary with different gcc compilers (r10-6804-g3133bed5d0327e) 2024-03-25 13:31 [Bug c/114468] New: unixbench compilation performance results vary with different gcc compilers jiangchuanganghw at outlook dot com 2024-03-25 14:01 ` [Bug target/114468] " pinskia at gcc dot gnu.org 2024-03-25 15:16 ` rguenth at gcc dot gnu.org @ 2024-03-25 23:25 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-25 23:25 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114468 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=26944 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also one should note that register allocation is NP complete problem. So obvious tuning heurstics for one case will most likely cause issues for others. Also dhrystone benchmark is very much not a decent benchmark for real code. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-25 23:25 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-03-25 13:31 [Bug c/114468] New: unixbench compilation performance results vary with different gcc compilers jiangchuanganghw at outlook dot com 2024-03-25 14:01 ` [Bug target/114468] " pinskia at gcc dot gnu.org 2024-03-25 15:16 ` rguenth at gcc dot gnu.org 2024-03-25 23:25 ` [Bug target/114468] unixbench compilation performance results vary with different gcc compilers (r10-6804-g3133bed5d0327e) pinskia 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).