From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA9343858D1E; Mon, 27 Feb 2023 03:24:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA9343858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677468263; bh=7IVcgex2c+ZcxpoqzAFHrxw1I8W6PGFzHnwGJ3wCWRs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K33yZDjG3+tGmKuh6GkMqv17DdPSl2EOGd19/7SSRC/PVZpae7czIq6zmUhhB7cAa GsEtszoJ8jyLX4T2aFsJXknamxYn4qRqcyby/2/UR8U8yLYncID1ux5pE7kpEoUHZF eiPraPh9iXmX++wD1p3WGooyNm9Wzamkh9iXEqH4= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108874] [10/11/12/13 Regression] Missing bswap detection Date: Mon, 27 Feb 2023 03:24:23 +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: crazylht at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.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=3D108874 Hongtao.liu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazylht at gmail dot com --- Comment #7 from Hongtao.liu --- Can we recognize it as bswap32 + roatate 16 in match.pd when backend suppor= ts boths, and then it should be easy for aarch64/arm to tranform bswap + ratate into rev16 at rtl level.=