From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4FF033858D32; Wed, 10 Apr 2024 08:30:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FF033858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712737822; bh=jlG40vRR3aYi6U9VIl03xNV3cqXj8p64YqTTD4VIlPw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=In2QFTA7FIN92PcjWhDqpkpMhDmEClDlzXH+7HuRB1Xye72HSAgEM+WcqH6q5ihJD UR2apnB+DHTAiA09P7eehLoSvm+SJdHLHN7lFFtlW/LcCGBn5+z9UP7VgWyAXFBVvN mpNFakL2mv0sKNswA8y2hF5blOOSgeOMx8Ja4ync= 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: Wed, 10 Apr 2024 08:30:22 +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 #5 from Hongtao Liu --- > My experience is memory cost for the operand with rm or separate r, m is > different which impacts RA decision. >=20 > https://gcc.gnu.org/pipermail/gcc-patches/2022-May/595573.html Change operands[1] alternative 2 from m -> rm, then RA makes perfect decisi= on.=