From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7582 invoked by alias); 18 Apr 2011 10:13:13 -0000 Received: (qmail 7570 invoked by uid 22791); 18 Apr 2011 10:13:11 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Apr 2011 10:12:39 +0000 Received: by wwf26 with SMTP id 26so5154125wwf.8 for ; Mon, 18 Apr 2011 03:12:38 -0700 (PDT) Received: by 10.216.173.12 with SMTP id u12mr11550614wel.18.1303121558174; Mon, 18 Apr 2011 03:12:38 -0700 (PDT) Received: from richards-thinkpad (gbibp9ph1--blueice2n1.emea.ibm.com [195.212.29.75]) by mx.google.com with ESMTPS id t11sm2493454wes.17.2011.04.18.03.12.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Apr 2011 03:12:37 -0700 (PDT) From: Richard Sandiford To: Richard Earnshaw Mail-Followup-To: Richard Earnshaw ,gcc-patches@gcc.gnu.org, patches@linaro.org, richard.sandiford@linaro.org Cc: gcc-patches@gcc.gnu.org, patches@linaro.org Subject: Re: PR target/46329: Reject Neon structure constants References: <1303119516.15603.6.camel@e102346-lin.cambridge.arm.com> Date: Mon, 18 Apr 2011 10:47:00 -0000 In-Reply-To: <1303119516.15603.6.camel@e102346-lin.cambridge.arm.com> (Richard Earnshaw's message of "Mon, 18 Apr 2011 10:38:36 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg01366.txt.bz2 Richard Earnshaw writes: > I'm uncomfortable about this. Generally the ARM port doesn't work well > with the target-independent constant pool and it's better to assert that > this is empty when it comes to final assembly generation. Can you > clarify by way of example how this patch is working please (ie some > sample output). Sure, for the testcase in the PR, we get: ldr r8, .L3 vldmia r8, {d16-d19} ... .L3: .word .LC0 ... .LC0: .word 0 [x 7] (this is at -O0). With -fPIC we get: ldr r3, .L3 .LPIC0: add r3, pc, r3 vldmia r3, {d16-d19} ... .L3: .word .LC0-(.LPIC0+8) Richard