From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33BAA38582AA; Thu, 7 Mar 2024 15:30:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33BAA38582AA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709825455; bh=3n39UeQTxItqd7cy9UHXLtjuug/d7FydIZOf/nZNwyI=; h=From:To:Subject:Date:From; b=ZVHslbG+xDbest78IggwY7EriFkMe5EuPqQ3EoxFmeo2vv1RpCRItVxUXIawMwdkn 9fcsGEJZ3vf7GfopoBGdNFcaF422JutNBt2MycJ21jTMhEW7cBXkCqR25lioBWN7fh tUCaI2GQ5ve136s2+LB+nevfzFx9sEkCzX4C6Z2s= From: "pheeck at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114269] New: [14 Regression] Multiple 3-27% exec time regressions of 434.zeusmp since r14-9193-ga0b1798042d033 Date: Thu, 07 Mar 2024 15:30:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pheeck at gcc dot gnu.org 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 cc blocked 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=3D114269 Bug ID: 114269 Summary: [14 Regression] Multiple 3-27% exec time regressions of 434.zeusmp since r14-9193-ga0b1798042d033 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pheeck at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: x86_64-linux Target: x86_64-linux Our LNT instance has detected that runtime of benchmark 434.zeusmp from the SPEC 2006 suite regressed on x86_64 machines on most configurations by 3-27= %. Some examples: AMD Zen2 -Ofast -march=3Dnative -flto (22% regression) https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D289.80.0 Intel Skylake -Ofast -march=3Dnative PGO (11% regression) https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D791.80.0 AMD Zen4 -O2 -flto PGO (7% regression) https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D960.80.0 AMD Zen2 -Ofast -march=3Dnative (26% regression) https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D301.80.0 I have bisected these configurations to the same commit - AMD Zen2 -Ofast - AMD Zen2 -Ofast -march=3Dnative -flto PGO - AMD Zen4 -O2 -flto PGO the commit is r14-9193-ga0b1798042d033 (Richard Biener: tree-optimization/114074 - CHREC multiplication and undefined overflow). I haven't seen this speedup on our Aarch64 machine. I have seen it on our I= ntel machine though, so this is not an AMD-specific issue. There is another PR where a SPEC slowed down that was also bisected to the = same commit: pr114238. Maybe these two PRs are actually the same bug. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 [Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95= )=