From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4623A3858D37; Mon, 23 Oct 2023 13:37:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4623A3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698068228; bh=bIq6S9nc0QMdXssHPdRm9S8yCNLF/WpeYRq8Du3VRv8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=y4WYme+FPID8l0xxjhR5lMUUssZdfpvz2g6kPPwp6m4LKPFKD/h7glJJPrpkndfLx GQDhPPT6n9kN2npcR3xNb3DIG0551yz6qPN49gm2KcUwml/FfKOIU4n6Zzxj5JixbG y9+zKXKN8BveA8gUMNRdXVop6kj4NbfwCKZLmM/8= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111933] memcpy on Xtensa not optimized when n == sizeof(uint32_t) or sizeof(uint64_t) Date: Mon, 23 Oct 2023 13:37:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.2.0 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: 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=3D111933 --- Comment #1 from Richard Biener --- uint32_t from_unaligned_u32(uint32_t *unaligned) { uint32_t tmp; tmp =3D *unaligned; note this isn't an unaligned access since you dereference a uint32_t pointe= r=