From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C43353858C36; Wed, 6 Mar 2024 17:18:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C43353858C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709745503; bh=ym65JXGGvcw/M8TTkb+sxEB8f6tz+32bLrA5lcXBiS8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bLEf9wTc4Le7snimiRT340KYb/IQSCu6WN8Q43BfQz0awsBEprksgsNwMOXd7SmDK 96VOfllQ/SY3PTP/n4Z2gx42TYFWcf8v0ti0IuuwPw/MTI/JeJFA5JZNVQRsdabZXF ny9Ya0a0Bkq23WSATD0ElKWPKgphWBnly/TrZmJg= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114252] Introducing bswapsi reduces code performance Date: Wed, 06 Mar 2024 17:18: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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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 #6 from rguenther at suse dot de --- > Am 06.03.2024 um 17:12 schrieb gjl at gcc dot gnu.org : >=20 > =EF=BB=BFhttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114252 >=20 > --- Comment #5 from Georg-Johann Lay --- > (In reply to Richard Biener from comment #4) >> So bswap on a value is just register shuffling, right? >=20 > The point is that there is no need for bswap in the first place, just hav= e a > look at the code that v13 generates. It's 4 QI loads and that's it, no > shuffling required at all. >=20 > But v14 dropped that, and the bswapsi (presumably due to previous flawed = tree > optmizations) is introduced by some tree pass. >=20 > There's nothing the backend can do about it. So would you explain why you > think it's a "target" issue? >=20 > Maybe the PR title I used is confusing and does not hit the point? Why does the target say it has bswapsi then? In which case is that profitab= le? > -- > You are receiving this mail because: > You are on the CC list for the bug.=