From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 597EE3858C83; Thu, 13 Apr 2023 07:01:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 597EE3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681369268; bh=Ay7wwbNNWHQxq4SYF8iMqyuP8t8AeiLvwyBm67WPSko=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uhLQhR5gurnB2nk2hagBZgLFvwmAPMIkiEOmHMyu189EjE5VhqGMpKAFoLEte/y4q eaHmaMfOmiDEnGDto2LI/KFwBgaGGr61xTD1gr5Xft8PnXzaiK9husrt+4QPYn8R8E o5vky9he47zUMuuUT6C4SUG1Bn9T7EEORN/NDpak= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/109476] Missing optimization for 8bit/8bit multiplication / regression Date: Thu, 13 Apr 2023 07:01:07 +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: 12.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: --- 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=3D109476 --- Comment #10 from Richard Biener --- (In reply to Roger Sayle from comment #7) > Created attachment 54843 [details] > proposed patch >=20 > Proposed patch. Does this look reasonable? Yes, but doesn't this work for all GET_CODE (op) !=3D ASHIFTRT?=