Displaying 2 results from an estimated 2 matches for "attr_nothrow_list".
2009 Mar 04
0
[LLVMdev] Adding Intrinsics for custom processor (frotend, problem)
...; file.
>
> 4) Create and edit gcc/my-builtins.def
>
> The file gcc/builtin-types.def lists the macros you can use to
> declare the function types for your macros, and
> 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 a...
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