From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 286B83858D37; Tue, 1 Nov 2022 17:27:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 286B83858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667323666; bh=Iu1PO6DrQQCwIjirTDQ2Jz+BuVSAYfiBiaIPXg6AayY=; h=From:To:Subject:Date:From; b=h3aJxm4blE2s8YwZ1pNo3tb+1rjNCOQpEEHf316FR88v2iymgHu43IngyCQ9e52F/ uvEzrBG6xwDRrUiS4kHmIqSZqz/03fZ1aChFzsE9WSopIvdOfJzZDU+G6zNaGFNbKs RL3UQwCy6LsiNceEKXEk29z7BCuy4Us4l2Lp0GO0= From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107499] New: 433.milc regressed by 6-8% on zen3 at -O2 -flto Date: Tue, 01 Nov 2022 17:27:45 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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 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=3D107499 Bug ID: 107499 Summary: 433.milc regressed by 6-8% on zen3 at -O2 -flto Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: x86_64-linux Target: x86_64-linux LNT reports a 8.5% regression of 433.milc when compiled with -O2 -flto on a zen3 machine: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D469.70.0 On a similar machine I reproduced it as a 6.5% regression and bisected it to 19295e8607d (tree-optimization/100756 - niter analysis and folding). Possibly related, possibly not: - An intel machine results show something which might be a 2% regression around the same time at -O2 -flto -march=3Dnative. See https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D790.70.0=20 - In the same time-frame there is also a 5% performance drop on zen2 with -Ofast -flto -march=3Dnative, but those results have been rather flaky in the past (see PR 101296): https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D289.70.0 - there is a 11% regression reported on the same zen3 machine when using O2 flto -march=3Dnative but either I cannot reproduce it or it does not seem to be caused by the same commit. I'll wait for more LNT results before investigating. See https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=3D465.70.0 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= )=