From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3AE033858D32; Mon, 22 Jan 2024 23:52:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AE033858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705967551; bh=Ux49rvp/0gVdRHpLZICqfbtT99OFBgcccAL/wJVtWok=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JwZe5fYvKwqx1njl1TwTEH3NeS93/ZhUmR5b6dNTIeChfF02jv8B2tKzIKUbFAH7I pdlXWa6jBLXuPD8MZQ5vzBEfSd5ag6DBFLaNCbLVsm4xxnW5jCvFrde6t+O54vgocG MFzL2DN2ZV+Y+SIO3qEmPBDFjl2rdeEqSro+Vs7c= From: "roger at nextmovesoftware dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/113533] [14 Regression] Code generation regression after change for pr111267 Date: Mon, 22 Jan 2024 23:52:30 +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 X-Bugzilla-Severity: normal X-Bugzilla-Who: roger at nextmovesoftware dot com X-Bugzilla-Status: NEW 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: attachments.created 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=3D113533 --- Comment #8 from Roger Sayle --- Created attachment 57190 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57190&action=3Dedit proposed patch Proposed patch to provide a sane/saner set of rtx_costs for SH. There's pl= enty more that could be done, but these changes are (more than) sufficient to resolve the code quality regression caused by improved fwprop. If someone could try this out on SH, and report back the results, that would be great.=