From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C1DA8385840F; Fri, 9 Feb 2024 09:24:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1DA8385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707470675; bh=ii309Qrtx0Z/3ETvAydGpHtE/t847L7dDLeiXNlxG4I=; h=From:To:Subject:Date:From; b=dq51g3EVJ3O0ZeUezckOrsqZsaN/sFcyTLOUpSWdz41VGVdrYAafXPGctacjvSURw GYWw8cJ9QaWXirgY4GuujZoF+4yFUSILejnvnXFdqRHYLfevQNpbj3CL9Acuy8YLaG yf2O3S0y2bWG8cn2uHaJMS36a1vPREhNKKeJ7rjA= From: "fkastl at suse dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113847] New: [14 Regression] 10% slowdown of 462.libquantum on AMD Ryzen 7700X and Ryzen 7900X Date: Fri, 09 Feb 2024 09:24:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: fkastl at suse dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113847 Bug ID: 113847 Summary: [14 Regression] 10% slowdown of 462.libquantum on AMD Ryzen 7700X and Ryzen 7900X Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization, needs-bisection Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz Target Milestone: --- Host: x86_64-linux Target: x86_64-linux As seen here https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D956.210.0 between commits g:d826596acb02edf4 and g:23cd2961bd2ff635 there is about 10% slowdown of execution time of the 2006SPEC 462.libquantum benchmark. The test is run with -O2 and lto on an AMD Ryzen 7700X. I also reproduced the slowdown on a AMD Ryzen 7900X machine. However I wasn= 't able to reproduce the slowdown on an AMD EPYC machine - also Zen4 microarchitecture. So I suppose this slowdown occurs only on Zen4 Ryzen CPU= s or is maybe even more specific. I'm not sure if we want to do anything about this. The same slowdown on the same machine has already happened once, see pr112547. The benchmark results eventually returned to the original values.=