Displaying 2 results from an estimated 2 matches for "bt_ptr".
Did you mean:
bo_ptr
2009 Mar 04
0
[LLVMdev] Adding Intrinsics for custom processor (frotend, problem)
...bout.
>
> b) In our case here, the correct function type didn't exist, so an
> additional step is to edit gcc/builtin-types.def. I would add the
> following in the section where the 2-parameter types are defined.
>
> DEF_FUNCTION_TYPE_2 (BT_FN_PTR_PTRPTR_PTR, BT_PTR, BT_PTR_PTR, BT_PTR)
>
> That's all you need to change within llvm-gcc (I think, I didn't
> bug-test the instructions, but I'm pretty sure it will work.
>
> 5) Get llvm source from svn
>
> 6) Edit include/llvm/Intrinsics.td
>
> You can eit...
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