This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Document __builtin_extend_pointer
- From: Jeff Law <law at redhat dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>, sellcey at cavium dot com
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "richard.earnshaw" <richard dot earnshaw at arm dot com>
- Date: Tue, 20 Mar 2018 14:57:18 -0600
- Subject: Re: [Patch] Document __builtin_extend_pointer
- References: <1519147981.6296.18.camel@cavium.com> <6a8f42af-7413-5b55-2bd9-09244cca36ab@mentor.com>
On 03/20/2018 06:08 AM, Tom de Vries wrote:
> 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.
Agreed. And a patch to remove the pasto is pre-approved.
jeff