From patchwork Wed Jan 8 18:13:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 308391 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 846262C00AC for ; Thu, 9 Jan 2014 05:15:10 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=rsTIgIUZf7N9chtE7hC/7HebKCRU34eKlkixDAAeiP/FlpNeiehjG 806VMmIpBUqc9fUZ3STVW6HXGw34j/iVZXIEmk22dVoLAzlv31lOyzWSr73JSoBv mkUpDE3Q9dBvsI4+ThEAyighAFIiNb7pQ6FK4SzBr1ehxrLkdxhyGI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references; s= default; bh=Z43K0Xz94K+iMXordaIQOjnwVww=; b=vABd+SnaGq6+lsaaG1P5 iq+b//SdeXuDt+Vit0RK/6Ir7P+90rmOlUJEc2yYoHJFGLj/J/ox1MRNRwbTLauF zj4AvcPXkzW3Vz7Yr5Z9KJGgaHdeRpeX6CnD8cX1yFfgGEo61KXw4zFvmljfFRqj gBVgQBLCSAKJ9mc6EYF3b6Y= Received: (qmail 8818 invoked by alias); 8 Jan 2014 18:14:07 -0000 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 Received: (qmail 8704 invoked by uid 89); 8 Jan 2014 18:14:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qc0-f169.google.com Received: from mail-qc0-f169.google.com (HELO mail-qc0-f169.google.com) (209.85.216.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 08 Jan 2014 18:14:05 +0000 Received: by mail-qc0-f169.google.com with SMTP id r5so1766338qcx.0 for ; Wed, 08 Jan 2014 10:14:03 -0800 (PST) X-Received: by 10.49.17.232 with SMTP id r8mr213091661qed.74.1389204843702; Wed, 08 Jan 2014 10:14:03 -0800 (PST) Received: from anchor.com (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id q4sm2150267qac.18.2014.01.08.10.14.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2014 10:14:03 -0800 (PST) From: Richard Henderson To: gcc-patches@gcc.gnu.org Cc: Marcus.Shawcroft@arm.com, Yufeng.Zhang@arm.com Subject: [PATCH, AArch64 5/6] soft-fp: Define UDWtype for longlong.h Date: Wed, 8 Jan 2014 10:13:20 -0800 Message-Id: <1389204801-9832-6-git-send-email-rth@redhat.com> In-Reply-To: <1389204801-9832-1-git-send-email-rth@redhat.com> References: <1389204801-9832-1-git-send-email-rth@redhat.com> X-IsSubscribed: yes The documentation for longlong.h says this type must be defined. We've gotten away with this because so far longlong.h hasn't actually used the type. libgcc/ * soft-fp/soft-fp.h: (UDWtype): New define. --- libgcc/soft-fp/soft-fp.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libgcc/soft-fp/soft-fp.h b/libgcc/soft-fp/soft-fp.h index b54b1ed..8f80ea6 100644 --- a/libgcc/soft-fp/soft-fp.h +++ b/libgcc/soft-fp/soft-fp.h @@ -248,6 +248,12 @@ typedef unsigned int UHWtype __attribute__ ((mode (HI))); typedef USItype UHWtype; #endif +#if _FP_W_TYPE_SIZE == 32 +# define UDWtype UDItype +#elif _FP_W_TYPE_SIZE == 64 +# define UDWtype UTItype +#endif + #ifndef CMPtype # define CMPtype int #endif