[PATCH] Intrinsics for PowerPC

Syd Polk spolk@apple.com
Tue Dec 23 21:48:00 GMT 2003


On Dec 23, 2003, at 12:52 PM, Syd Polk wrote:

>
> On Dec 22, 2003, at 5:54 PM, Ziemowit Laski wrote:
>
>>
>> On 22 Dec 2003, at 17.24, Syd Polk wrote:
>>
>> 2) To define the function signature for 'eieio', you may want to use 
>> what's done elsewhere in the code:
>>
>>   tree void_ftype_void
>>     = build_function_type (void_type_node, void_list_node);
>>
>
> You have to make a list that contains void_list_node to use this 
> function. Everywhere else in rs6000.c they call 
> build_function_type_list, which creates the list for you.
>

Never mind. I see what I was doing. Thanks for the tip!

>> as I'm not sure if 'build_function_type_list' will do what you want...
>>
>
> All it does is create the type list out of your args, and call 
> build_function_type.
>
> Syd Polk
> Apple Computer
> Technology EPM, Mac OS X Development Tools
> +1 408 974-0577
>
>
Syd Polk
Apple Computer
Technology EPM, Mac OS X Development Tools
+1 408 974-0577

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1100 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031223/e94ef9ed/attachment.bin>


More information about the Gcc-patches mailing list