From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E8023858420; Thu, 11 Apr 2024 07:37:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E8023858420 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712821073; bh=3lNSR/3Wl10JI0a/7lHywvq/A4CZFXFQt4Eqtfuh4bI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vZzPGxbGPo7QM4QJ/Sjkl0/B+bx+uK8hGb2CLfXTQOnQ7hBfeeY4CxIPawPoqHM9D hDRIfULIv76iDsQb296EKphqRPkSVcBgKgjmv2ysTiiH4fouiO9IvWXK80SAZTjC3A pHFft+EKZEWhSyEEAvj+eJamzM20eU7oTpxYksrI= From: "liuhongt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114591] [12/13/14 Regression] register allocators introduce an extra load operation since gcc-12 Date: Thu, 11 Apr 2024 07:37:52 +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: 13.2.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: liuhongt at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 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=3D114591 --- Comment #16 from Hongtao Liu --- >=20 > 4952 /* See if a MEM has already been loaded with a widening operati= on; > 4953 if it has, we can use a subreg of that. Many CISC machines > 4954 also have such operations, but this is only likely to be > 4955 beneficial on these machines. */ Oh, it's pre_reload cse_insn, not postreload gcse=