From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CB89D3858439; Tue, 16 May 2023 02:50:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB89D3858439 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684205425; bh=aVSj8X6ljrRl9pm/S533GLNMBvJpIvDoBUBM2gMoZD0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iO0ncjAco34eafJI4OOVUxbKh8Ra05OsK5vYb6qT1KbsVotPPPkH1WvUgYIT6/Z/Q NpliwTrhPmTbUeVNhLCLrPS3OOHLtorOGZ3ptJUIqbzuwZrZZLHsqIKCDcXR+Y2WI8 +7yTvrOlYBzRGLzRm2BJGi/l2DMuRWGD7KeDMtQw= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109858] [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power Date: Tue, 16 May 2023 02:50:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com 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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109858 --- Comment #4 from Hongtao.liu --- Created attachment 55091 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55091&action=3Dedit Only use NO_REGS in cost calculation when !hard_regno_mode_ok for GENERAL_R= EGS and mode.=