From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 755813857832; Thu, 7 Mar 2024 15:02:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 755813857832 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709823770; bh=yrSgoj7pGDe4vvHM3/YJbrf8MG9J9k/rZa37VThO7Aw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QmRYw0xsTtsX53Bgp6E2B4HiDKsk8wALsmPym5DXOD3/tvIHf8jl8X0N1oA4VVTLr tNuUvv1y7uSHKVIibaQIFYb0sfxx20k9+aLRrrwXyGP5XWi7L2SA6sKi51RyKqSD9l X+o/c67ZGMVTR470p6B1LpLtE4JMKJlrVRN0vNEQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114252] Introducing bswapsi reduces code performance Date: Thu, 07 Mar 2024 15:02:49 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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=3D114252 --- Comment #15 from Andrew Pinski --- Note one thing that might help is define an alternative for bswap that take= s a memory operand and just do the load that way. That will definitely help in = the original code.=