Displaying 4 results from an estimated 4 matches for "frotend".
Did you mean:
frontend
2009 Mar 04
1
[LLVMdev] Adding Intrinsics for custom processor (frotend problem)
Chris Lattner wrote:
> As others have mentioned, hacking the front-end isn't that hard. In
> any case though, please be aware that a precompiled binary for a non-
> MIPS target won't produce correct code if you are (for example) using
> an x86 front-end and forcing llc to generate mips code with llc -
> march=mips. The front-end does type layout and knows very ABI
2009 Mar 03
0
[LLVMdev] Adding Intrinsics for custom processor (frotend problem)
Personally I would just modify the frontend - it's not that hard once
you know where to look . In this case all you need to do is add the
declaration of your builtin to the TARGET_INIT_BUILTINS target hook (see
the gcc internals manual) defined in the gcc/config directory
corresponding to your target. If the name the the declaration matches
the name used with GCCBuiltin in the intrinsics
2009 Mar 04
0
[LLVMdev] Adding Intrinsics for custom processor (frotend, problem)
Luke Dalessandro wrote:
> Gil, it's really easy to add builtins to the llvm-gcc frontend and have
> them auto-magically converted to the llvm intrinsic versions. The main
> problem with this is that you end up with a non-standard front end that
> you have to somehow distribute to the people who need it. There may be
> funny licensing problems, etc... I don't really
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