From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5001 invoked by alias); 4 Apr 2011 21:31:12 -0000 Received: (qmail 4990 invoked by uid 22791); 4 Apr 2011 21:31:11 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_OV 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; Mon, 04 Apr 2011 21:31:06 +0000 From: "ramana at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/46247] bug with loading constant to neon quad register X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ramana at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Ever Confirmed 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 Date: Mon, 04 Apr 2011 21:31:00 -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 X-SW-Source: 2011-04/txt/msg00332.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46247 Ramana Radhakrishnan changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.04.04 21:31:00 CC| |ramana at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Ramana Radhakrishnan 2011-04-04 21:31:00 UTC --- vmov.i32 d18, #0 @ v8qi @ D.13245, movw r0, #:lower16:.LC0 @, vmov.i8 d19, #1 @ v8qi @ tmp229, movt r0, #:upper16:.LC0 @, vmov d17, d18 @ v8qi @ tmp231, D.13245 push {r4, r5, lr} @ vmov.i8 d16, #2 @ v8qi @ tmp236, sub sp, sp, #60 @,, vzip.8 d19, d17 @ tmp230, tmp231 add r3, sp, #48 @ tmp238,, fstd d17, [sp, #16] @ tmp231, vzip.8 d16, d18 @ tmp236, tmp237 fstd d16, [sp, #8] @ tmp236, vst1.8 {d19}, [r3] @ tmp230, tmp238 add r3, sp, #40 @ tmp239,, movw r4, #:lower16:.LC1 @ tmp243, vst1.8 {d17}, [r3] @ tmp231, tmp239 <----- add r3, sp, #32 @ tmp240,, movt r4, #:upper16:.LC1 @ tmp243, vst1.8 {d16}, [r3] @ tmp236, tmp240 add r3, sp, #24 @ tmp241,, vst1.8 {d17}, [r3] @ tmp231, tmp241 bl puts @ Why does this end up storing so many values to the stack . The problem appears to be with storing d17 twice instead of storing d18 in the case marked with ---->