On 10/31/14 11:02, David Malcolm wrote:
These files implement support for builtins, for the
   gcc_jit_context_get_builtin_function
API entrypoint.

Only a subset of builtins are currently supported, based on those
that I needed when porting GNU Octave's JIT.

Attempts to use other builtins may lead to an error:
   "unimplemented primitive type for builtin"
being emitted on the gcc_jit_context.

gcc/jit/
        * jit-builtins.c: New.
        * jit-builtins.h: New.
So how do you envision maintenance on this in the future? Reality is folks are regularly adding new builtins, are they going to have to update the JIT too?

OK for the trunk.

jeff

Reply via email to