From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 04ADB385D0E0; Thu, 27 Oct 2022 22:03:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04ADB385D0E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666908215; bh=9ZlRTButIKDi7wmeuUca5C0Zno1rrUpzGAmFnNVWvQE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TEwVB10ixAjLp9yUctULCo2cHGaYCBpfBiDu6r8zeFM5OSbdR4u1iYu0y0ZuSJ2m/ yn5vHN6DDH4jxn3Vdk2H88m5llkWLIjpDu9pirbeIIedK79UGvSknkFi9C9OIJk06+ z+3IxJbRG7dERJLaIuD3Lqft/3U4OEa6+i3TO7oM= From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107412] Miss to fold LEN_{LOAD,STORE} when the specified length equal to vector length Date: Thu, 27 Oct 2022 22:03:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D107412 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #2 from Segher Boessenkool --- Make sure we only use "plain" accesses on machines that allow all unaligned accesses? p8 and later I think. The load-with-length insns are even later, but a builtin does not necessarily translate to those newer insns, so some care is required :-)=