From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F39D83858D37; Mon, 20 May 2024 23:14:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F39D83858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716246898; bh=DMBVoXKyShriW8KvIULLIlbm22D5swDYI1yGH/C2XbE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Is6J0Ay6OsUnEPfFpLy84NqxoaiLQR0B9+YIb8bNDZcafs4K9nhp3pxXFHMXayAnM +/1LwzLzj2I+dLC8mRQrJhVJopUSi456qHhdZviAwHca7WICIUa7PCM0xM3pysPsH4 rRCU0Hx4EovZs4lBe1OvGg5demD//zC42NwpBqkY= From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99531] [11 Regression] Performance regression since gcc 9 (argument passing / register allocation) Date: Mon, 20 May 2024 23:14:57 +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: 10.2.0 X-Bugzilla-Keywords: missed-optimization, ra X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo 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: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D99531 Oleg Endo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olegendo at gcc dot gnu.org --- Comment #11 from Oleg Endo --- (In reply to GCC Commits from comment #5) > The master branch has been updated by Vladimir Makarov > : >=20 > https://gcc.gnu.org/g:a7acb6dca941db2b1c135107dac3a34a20650d5c >=20 > commit r12-5944-ga7acb6dca941db2b1c135107dac3a34a20650d5c > Author: Vladimir N. Makarov > Date: Mon Dec 13 13:48:12 2021 -0500 >=20 > [PR99531] Modify pseudo class cost calculation when processing move > involving the pseudo and a hard register >=20=20=20=20=20 > Pseudo class calculated on the 1st iteration should not have a > special treatment in cost calculation when processing move involving > the pseudo and a hard register. >=20=20=20=20=20 > gcc/ChangeLog: >=20=20=20=20=20 > PR target/99531 > * ira-costs.c (record_operand_costs): Do not take pseudo class > calculated on the 1st iteration into account when processing = move > involving the pseudo and a hard register. >=20=20=20=20=20 > gcc/testsuite/ChangeLog: >=20=20=20=20=20 > PR target/99531 > * gcc.target/i386/pr99531.c: New test. This caused PR 115148=