From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28782 invoked by alias); 30 Nov 2012 16:18:40 -0000 Received: (qmail 27642 invoked by uid 48); 30 Nov 2012 16:16:40 -0000 From: "eric.batut at allegorithmic dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55073] Wrong Neon code generation at -O2 caused by -fschedule-insns Date: Fri, 30 Nov 2012 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: eric.batut at allegorithmic dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-11/txt/msg03022.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55073 --- Comment #13 from Eric Batut 2012-11-30 16:16:36 UTC --- Richard, After a clean checkout of gcc's trunk and of the Android NDK r8b package and tools, I rebuilt arm-linux-androideabi-gcc on a Ubuntu VM using gcc 4.5.1. I then rebuilt my testcase with "-O1" and "-O1 -fno-dse", and the same difference is there: d19 and d21 are used as sources for the two vmovl.s8 instead of d18 and d20. I attach a new tarball with the (very slightly) modified source I am using, the two assembly files that are generated, and the two binary files (they should run on any Android device, no fancy stuff here). Could you please use your local build of gcc to generate the same assembly files so that we can compare the function bodies? Best Regards, Eric