From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD19C3857705; Thu, 5 Oct 2023 07:51:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD19C3857705 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696492282; bh=dMCfLRfzWv/WeVsNDho5jzC1+QnNk4i8H83TsLbzww0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OI8iA1s+EHQERmbYbXZBp64r7pXl4G6OOUsPXBquvBYpxgtKANdeQAzTmAFaQZcPF z4XMcCgCh7s+xrOfgCrh2fmy5MuKnKr94lJwTYRpqMlOz9Cq4xJJrCOH2yAVmbc9Ml C1YycvjR3ZCPN55bw6uhdG3ExkMWt5d2HQv3iXGQ= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111698] Narrow memory access of compare to byte width Date: Thu, 05 Oct 2023 07:51:21 +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: 12.3.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: cf_gcctarget keywords 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=3D111698 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Keywords| |missed-optimization --- Comment #1 from Richard Biener --- I guess we could do this even on GIMPLE and in general to aligned sub-word accesses (where byte accesses are always aligned). It might be also a good fit for RTL forwprop or that mem-offset pass in development.=