From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0EE993858004; Wed, 14 Jun 2023 05:11:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EE993858004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686719499; bh=sx1TrFgw2DH0dBqYA+lKI3T9TbyBybiHogt4DO/zC/4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dDKqN7jtIImKvfuQIIHu7EIKNSZqR+1Q81C4YlqJ2cvtE8jX/UwONUfqEwjsaPDOv uzCOFSgIyPEE2SowHnLoti3k0UzPwAtzwHcA8/OWyBosVmQnBFhu5U50VGPDQOMFSk 50eVWV8VvT1ei3rbmu9RQxiAQLjWuDC41Ntdcg2k= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/37916] [10/11/12/13/14 Regression] SSA names causing register pressure; unnecessarily many simultaneously "live" names. Date: Wed, 14 Jun 2023 05:11:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.3.3 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 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=3D37916 --- Comment #38 from Andrew Pinski --- So for aarch64, I noticed that on the trunk, we no longer produce any store= s to the stack (GCC 13 had a save/restore of x29 and x30; x29 is the fp). The difference is no longer using x30 as a register. I Have not looked why thou= gh. GCC 7 had saving also x19. I suspect that was some aarch64 specific change as x86_64 code generation looked around the same between GCC 13 and the trunk.=