From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1ECE13858427; Tue, 1 Nov 2022 19:56:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1ECE13858427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667332605; bh=XlN99oGxaFhdIAkFyIGZdTfq4Y4x65CEYJwbBC19bKQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YVDiEJAToZ2WD6oVYxJGO9rpXQxze+YVfY5/auG93rv9VL+K7Nx4XJlG2Ypd3ClNp OvSiXsMYbP3wzPRL7SzgkDBWmcQGP+CTPj8SEOnB1I/eNB/dqazie0HAe+OXCvWiVd l0NtktrVG9gtPFAXmdBkZt1YFPkKjh9EJ1xuu1uQ= From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106602] riscv: suboptimal codegen for zero_extendsidi2_shifted w/o bitmanip Date: Tue, 01 Nov 2022 19:56:44 +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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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=3D106602 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu.org --- Comment #7 from Jeffrey A. Law --- There's some code in combine that's supposed to take advantage of REG_EQUAL notes which is supposed to help with this kind of scenario. Digging into t= hat might help.=