From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29108 invoked by alias); 24 Nov 2011 17:09:29 -0000 Received: (qmail 29100 invoked by uid 22791); 24 Nov 2011 17:09:28 -0000 X-SWARE-Spam-Status: No, hits=-7.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Nov 2011 17:09:15 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAOH9CDR016314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 24 Nov 2011 12:09:12 -0500 Received: from pebble.twiddle.home (vpn-228-95.phx2.redhat.com [10.3.228.95]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pAOH9Cro005425; Thu, 24 Nov 2011 12:09:12 -0500 Message-ID: <4ECE7A38.7070000@redhat.com> Date: Thu, 24 Nov 2011 20:33:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 MIME-Version: 1.0 To: Richard Earnshaw CC: "gcc-patches@gcc.gnu.org" , Ramana Radhakrishnan Subject: Re: [cxx-mem-model 2/2] arm: Install __sync libfuncs for Linux. References: <1320362654-20244-1-git-send-email-rth@redhat.com> <1320362654-20244-3-git-send-email-rth@redhat.com> <4ECD83B5.3030107@redhat.com> <4ECE1723.10609@arm.com> In-Reply-To: <4ECE1723.10609@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-11/txt/msg02377.txt.bz2 On 11/24/2011 02:06 AM, Richard Earnshaw wrote: >>> >> + /* For Linux, we have access to kernel support for atomic operations. */ >>> >> + if (arm_abi == ARM_ABI_AAPCS_LINUX) >>> >> + init_sync_libfuncs (8); >>> >> + >>> >> /* There are no special library functions unless we are using the >>> >> ARM BPABI. */ >>> >> if (!TARGET_BPABI) >> > >> > > > What's the '8' for? If it's the size of an object, then shouldn't this > really be something like GET_MODE_SIZE (DImode)? Yes it's an object size. r~