From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10464 invoked by alias); 11 Jan 2012 05:44:35 -0000 Received: (qmail 10452 invoked by uid 22791); 11 Jan 2012 05:44:33 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_XG X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Jan 2012 05:44:20 +0000 From: "thejes.k at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51819] New: [4.7 Regression ]Neon wrong code generation, Error: unsupported alignment for instruction -- `vst1.32 {d2[0]},[r0:64]' Date: Wed, 11 Jan 2012 05:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thejes.k at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-01/txt/msg01141.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51819 Bug #: 51819 Summary: [4.7 Regression ]Neon wrong code generation, Error: unsupported alignment for instruction -- `vst1.32 {d2[0]},[r0:64]' Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: thejes.k@gmail.com Target: arm With the gcc, xgcc (4.7.0 20111217 (experimental) I tried to compile the code "gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c" with neon options as shown below, Command Line: $ gcc-4.7-20111217/host-i686-pc-linux-gnu/gcc/xgcc -B./gcc-4.7-20111217/host-i686-pc-linux-gnu/gcc vect-double-reduc-6.c -ftree-vectorize -fno-vect-cost-model -ffast-math -O2 -funroll-loops -fdump-tree-vect-details -lm -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=softfp -o ./vect-double-reduc-6.exe /tmp/ccsaDvPz.s: Assembler messages: /tmp/ccsaDvPz.s:132: Error: unsupported alignment for instruction -- `vst1.32 {d2[0]},[r0:64]' I could not reproduce this issue with gcc-4.5-20111215 or gcc-4.6-20111216 . It seems this issue is caused by the revision 172314 http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01996.html. This patch is not merged to gcc 4.5 or 4.6 also.