This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Intrinsics for PowerPC



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]