Re: [gomp] implement a handfull of easy directives

2005-09-22 Thread Ian Lance Taylor
Daniel Berlin <[EMAIL PROTECTED]> writes: > > The builtins table is initialized with a separate .def file, but it > > boils down to initializers this: > > > > { code, "__builtin_name", C2_INT, > >{ C2_INT, C2_VPTR, C2_NONE, C2_NONE, C2_NONE, C2_NONE } }, > > > > This way I only have to wri

Re: [gomp] implement a handfull of easy directives

2005-09-22 Thread Daniel Berlin
> The builtins table is initialized with a separate .def file, but it > boils down to initializers this: > > { code, "__builtin_name", C2_INT, >{ C2_INT, C2_VPTR, C2_NONE, C2_NONE, C2_NONE, C2_NONE } }, > > This way I only have to write the type in one place, I only create the > function ty

Re: [gomp] implement a handfull of easy directives

2005-09-21 Thread Ian Lance Taylor
Richard Henderson <[EMAIL PROTECTED]> writes: > * builtin-types.def (BT_PTR_LONG, BT_PTR_PTR, BT_FN_BOOL, BT_FN_INT, > BT_FN_VOID_PTRPTR, BT_PTR_FN_VOID_PTR, BT_FN_VOID_UINT_UINT, > BT_FN_BOOL_LONGPTR_LONGPTR, BT_FN_VOID_OMPFN_PTR_UINT, > BT_FN_VOID_OMPFN_PTR_UINT_UINT, >