From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8923 invoked by alias); 20 Mar 2018 12:08:55 -0000 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 Received: (qmail 7786 invoked by uid 89); 20 Mar 2018 12:08:55 -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,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Mar 2018 12:08:54 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1eyG4S-0005jz-BS from Tom_deVries@mentor.com ; Tue, 20 Mar 2018 05:08:52 -0700 Received: from [172.30.73.228] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 20 Mar 2018 12:08:48 +0000 Subject: Re: [Patch] Document __builtin_extend_pointer To: References: <1519147981.6296.18.camel@cavium.com> CC: gcc-patches , richard.earnshaw From: Tom de Vries Message-ID: <6a8f42af-7413-5b55-2bd9-09244cca36ab@mentor.com> Date: Tue, 20 Mar 2018 12:13:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519147981.6296.18.camel@cavium.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-SW-Source: 2018-03/txt/msg00946.txt.bz2 On 02/20/2018 06:33 PM, Steve Ellcey wrote: > +@deftypefn {Built-in Function} Pmode __builtin_extend_pointer (void * x) > +On targets where the user visible pointer size is different than the size > +of an actual hardware address this function returns the extended user > +pointer.  Targets where this is true included ILP32 mode on x86_64 or > +Aarch64.  This function is mainly useful when writing inline assembly > +code. > +@var{addr} > +@end deftypefn Hi, I think the "@var{addr}" bit is a pasto. Thanks, - Tom