From patchwork Thu Sep 6 14:30:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 182194 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 141C72C009D for ; Fri, 7 Sep 2012 00:30:44 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1347546645; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=NoosDaM 3Z5xIxRMRmv5fJZxPVDg=; b=wovQxMOqckWr3pqrXiEUSbB/vJBjKhPAp+m8oJe fnvN7BTv1KabGxcbuEYucxIEsde8fMJL9QKEWvGJ4erueq/9FYyl2uNYQzmSAGln 6TfmHCJDp9q4TcFMnj2xsMX8zjn0Bvb1PMmHebHWW8NZj37giRCQRuXOsi0UZt5q YGuo= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:X-MC-Unique:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=qh+D/msQMBtUr5YrSrg3KeZmuVHRqz+32Xg81gDqpXbV5xGjAfCWTCKQYaShq4 ydqzIZzc9UdUsevbJsPf6DqudP/kTXL8bnR3iho9pG2T5PCbuSsQEoczFGWPQm/H 5phOSUdM+601fSDaEB0BvJcxt+O8u7dUJXTqwKsrDXsIQ=; Received: (qmail 13852 invoked by alias); 6 Sep 2012 14:30:35 -0000 Received: (qmail 13841 invoked by uid 22791); 6 Sep 2012 14:30:33 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 06 Sep 2012 14:30:20 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 06 Sep 2012 15:30:18 +0100 Received: from [10.1.72.50] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 6 Sep 2012 15:30:18 +0100 Message-ID: <5048B37A.1000204@arm.com> Date: Thu, 06 Sep 2012 15:30:18 +0100 From: Marcus Shawcroft User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [AArch64] allow 16 bytes constants in constant pool. X-MC-Unique: 112090615301900201 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Relax the logic that prevents TFmode constants being addressed in the constant pool. 2012-09-06 Marcus Shawcroft * config/aarch64/aarch64.c (aarch64_classify_address): Allow 16 byte modes in constant pool. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 310c1a0..aa90402 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -2835,9 +2835,7 @@ aarch64_classify_address (struct aarch64_address_info *info, case LABEL_REF: /* load literal: pc-relative constant pool entry. */ info->type = ADDRESS_SYMBOLIC; - if (outer_code != PARALLEL - && (GET_MODE_SIZE (mode) == 4 - || GET_MODE_SIZE (mode) == 8)) + if (outer_code != PARALLEL) { rtx sym, addend;