Displaying 2 results from an estimated 2 matches for "bt_fn_ptr_ptrptr_ptr".
2009 Mar 04
0
[LLVMdev] Adding Intrinsics for custom processor (frotend, problem)
...gcc/builtin-attrs.def lists the attributes, though I've only ever
> used ATTR_NOTHROW_LIST.
>
> a) Use the macro you defined earlier to generate your builtins, in
> our example case it is
>
> DEF_MY_BUILTIN (BUILT_IN_MY_FOO, "my_foo", \
> BT_FN_PTR_PTRPTR_PTR, ATTR_NOTHROW_LIST)
>
> This is straightforward, the first parameter is an ID for your
> builtin within gcc -- it just needs to be unique. The second is
> the "name" of your builtin, which will be prepended with
> "__builtin_" based...
2009 Mar 03
4
[LLVMdev] Adding Intrinsics for custom processor (frotend problem)
As mentioned in an earlier mail, I am working on an LLVM backend for a
custom processor based on MIPS.
My problem is how to extend LLVM to support some esoteric/non-standard
feature of the underlying hardware.
I saw in the "Extending LLVM" document, that the easiest / most common
way to do this was using an intrinsic function,
and examples of the technique abound (all SSE for