From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CC3683858C2C; Tue, 28 Sep 2021 02:59:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC3683858C2C From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102473] [12 Regression] 521.wrf_r 5% slower at -Ofast and generic x86_64 tuning after r12-3426-g8f323c712ea76c Date: Tue, 28 Sep 2021 02:59:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2021 02:59:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102473 --- Comment #15 from Hongtao.liu --- (In reply to H.J. Lu from comment #14) > (In reply to Hongtao.liu from comment #13) > > (In reply to H.J. Lu from comment #12) > > > Are glibc regressions real? Please show the affected glibc assembly c= odes > > > before and after. > >=20 > > Assembly codes is the same, but DSB coverage drop down. before my commi= t=20 > > front-end bound of libc-2.31.so is 1.2%, after my commit front-end bound > > raise up to 21.9%, use -falign-functions=3D64 doesn't help. > >=20 > > The below code is copy from one of libc functions which has big front-e= nd > > bounds > >=20 >=20 > Which functions in glibc get lower DSB coverage? About a dozen small functions have been affected, no symbol info, the seco= nd column is time(seconds) func@0x5eed4 1.77755 func@0x58de4 1.53788 func@0x76f20 0.963671 func@0x5ea50 0.758953 func@0x83750 0.349518 func@0x60d59 0.284607 func@0x799e4 0.164773 func@0x59b64 0.15978 func@0x8f070 0.1448=