Prototypes for builtin functions
Paulo Matos
pmatos@broadcom.com
Mon Sep 2 14:22:00 GMT 2013
> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of Paulo
> Matos
> Sent: 29 August 2013 11:44
> To: gcc@gcc.gnu.org
> Subject: Prototypes for builtin functions
>
> Hi,
>
> I would like to hear how other architectures organize their builtin/intrinsic
> headers.
>
> Until recently we had a header that would look like:
>
> /* Types */
> typedef char V8B __attribute__ ((vector_size (8)));
> ...
>
> /* Prototypes */
> extern V8B __vec_put_v8b (V8B B, char C, unsigned char D);
> ...
Besides pinging this question for some sort of answer, isn't true that if a declaration is marked extern, then the tree location for the decl shouldn't be changed?
--
Paulo Matos
More information about the Gcc
mailing list