From patchwork Thu Apr 18 21:10:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yufeng Zhang X-Patchwork-Id: 237738 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 68BD32C0205 for ; Fri, 19 Apr 2013 07:10:21 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=I6JI8GXzBB2FfhNHu6l7wvLM2H7UsVZ3NqwiDS6Z1hx rt+xPiOSfky99IjVsYdw8N6bia/f7Gfv6XmN7VNx2vEI9So32zx5kIrabWEsWQef u3Zmskm5otvbEleOHJ/AL9o7MPl4/VOAB+ToAAEej/7L1sp7KCa9ecjMv0SCbX3o = 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 :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=Z5/Evv3cHiEm1f+eDo6gw/0pTfY=; b=kiL1rWkaoBvxKCbxk HZy6Qp51Fs8U41kFBxr0QKbzlPbGu87Pxj8LcgKicCrdVQu/Xx/5XtcsIjDf9rDd 3/UEo7Mpa4FFLK5pDJtD6BIjYejnuATW8yDRvb4bJBjdz1mltWCa/28/IOXCeRcG /fMd55LTS05Ucma3Sex24u2gK0= Received: (qmail 2798 invoked by alias); 18 Apr 2013 21:10:15 -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 2786 invoked by uid 89); 18 Apr 2013 21:10:14 -0000 X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 18 Apr 2013 21:10:13 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 18 Apr 2013 22:10:07 +0100 Received: from [10.1.69.62] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 18 Apr 2013 22:10:06 +0100 Message-ID: <5170612D.8060008@arm.com> Date: Thu, 18 Apr 2013 22:10:05 +0100 From: Yufeng Zhang User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: Marcus Shawcroft Subject: [PATCH, AArch64] Update definitions of _FP_W_TYPE and _FP_WS_TYPE in libgcc to be based on 'long long' X-MC-Unique: 113041822100700201 X-Virus-Found: No Hi, The patch changes _FP_W_TYPE and _FP_WS_TYPE in AArch64 libgcc to be based on 'long long', making them ILP32-friendly. x86_64 has the definitions. OK for the trunk? Thanks, Yufeng libgcc/ 2013-04-18 Yufeng Zhang * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define as 'unsigned long long' instead of 'unsigned long'. (_FP_WS_TYPE): Change to define as 'signed long long' instead of 'signed long'. diff --git a/libgcc/config/aarch64/sfp-machine.h b/libgcc/config/aarch64/sfp-machine.h index 9977308..456bea4 100644 --- a/libgcc/config/aarch64/sfp-machine.h +++ b/libgcc/config/aarch64/sfp-machine.h @@ -19,8 +19,8 @@ . */ #define _FP_W_TYPE_SIZE 64 -#define _FP_W_TYPE unsigned long -#define _FP_WS_TYPE signed long +#define _FP_W_TYPE unsigned long long +#define _FP_WS_TYPE signed long long #define _FP_I_TYPE int typedef int TItype __attribute__ ((mode (TI)));