From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58056 invoked by alias); 30 Jul 2015 14:11:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 57972 invoked by uid 48); 30 Jul 2015 14:11:17 -0000 From: "rearnsha at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66917] [4.9/5/6 regression] ARM: NEON: memcpy compiles to vst1 with incorrect alignment due to SRA Date: Thu, 30 Jul 2015 14:11:00 -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: 4.9.3 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: major X-Bugzilla-Who: rearnsha 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: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg02642.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66917 Richard Earnshaw changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |tree-optimization --- Comment #12 from Richard Earnshaw --- > but the arm hook seems to say "yes, I can vectorize with V2DImode > for a vector with element type unsigned long long __attribute__((aligned(1)))" > which it obviously cannot. It can vectorize for this case, but the loads must not be marked as aligned loads. That is, the mid-end must use the misaligned code hooks. So I don't think this is a target bug.