From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 23CF13858C41; Wed, 17 May 2023 01:25:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23CF13858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684286732; bh=+V7f7i1zvsx+GFYdf75VEreNkRbfcnQJcMsmkuZTP1E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cjPHUtI8LQZHRXzQAIAxAMiEhbSCYFyVK2w1+9wQB860/rBXtclIs3M+p0LB78bhn 0apXmoVtpnyXiEm2b2fQZhDoDgsbNVSZ0C7MK02kE2iDwP5cfSY1UBbmmPw/qemwie 1aE/HpIKlmRW/549vpSF+v1A4XMIY+tyuC/wnwQg= 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: Wed, 17 May 2023 01:25:31 +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: 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 #8 from Hongtao.liu --- (In reply to Segher Boessenkool from comment #7) > > The patch will still use GENERAL_REGS when hard_regno_mode_ok for mode = 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? Can= 't > you > just look at the actual costs of using mem and regs? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109610#c2=