From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DDE153858D39; Wed, 17 May 2023 14:48:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDE153858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684334931; bh=4qvH/auprkAHysKkEqbvP5v7+mHLbn6jAB19f7MzPLg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=v4qfywlhNRqdqxbbLscSBDzQyk2yPLS+Xtoo9s1sgPzPPJ/3aPAGRLI7IQ26KORyr MIKHWgjZNTCKPsAoxu1pPexkuBkBzDmRMt/6SB5FMLYF6S3j2MRp7F7ZlMoUw7RtMO cDDZqFLfEQPnXaDlyVRUx4IHsycLbTTHEWT1F7RQ= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109858] [14 Regression] r14-172 caused some SPEC2017 bmk to degrade on Power Date: Wed, 17 May 2023 14:48:51 +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: segher 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: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109858 --- Comment #10 from Segher Boessenkool --- (In reply to Hongtao.liu from comment #8) > (In reply to Segher Boessenkool from comment #7) > > > The patch will still use GENERAL_REGS when hard_regno_mode_ok for mod= e and > > > GENERAL_REGS(which is the case in PR109610), hope it can also fix this > > > regression. > >=20 > > That sounds more reasonable. But, why use any heuristics like this? C= an't > > you > > just look at the actual costs of using mem and regs? >=20 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109610#c2 That is not an answer to my question at all?=