[Openicc] GSoC & oyranos

Cyrille Berger cberger at cberger.net
Sun Apr 5 05:11:29 PDT 2009


On Sunday 05 April 2009, you wrote:
> On Sat, 4 Apr 2009, Kai-Uwe Behrmann wrote:
> > Ah, that is a point I did not really understand. So a library can add a
> > (GPU) backend to LLVM at runtime? E.g. thus enabling GPU support in
> > gallium3d while OpenGTL has no benefit?
> > So a (longterm) plan could be:
> >   CTL/Shiva -> IL -> GLSL -> IL -> GPU/CPU assembler code ?
>
> It seems that the LLVM VM just needs to be ready to accept
> instructions.  Based on what I saw while building LLVM, it seemed like
> assembly output for all supported targets is available in one build.
>
> Not having any experience with LLVM before, I installed it on a
> FreeBSD/Xeon system and built GraphicsMagick with it.  Then I ran a
> benchmark suite which uses OpenMP.  Usually native GCC was somewhat
> faster than LLVM generated code, but for some floating-point intensive
> algorithms, LLVM was faster.  I would say that performance was pretty
> competitive.

To be honest, I wouldn't use LLVM as compiler over GCC now :) Maybe in a year 
or two, but I do think there is a reason apple hasn't switch for their 
compiler. But for now, LLVM is a very good platform when you want to write a 
JIT "VM".
-- 
Cyrille Berger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/openicc/attachments/20090405/04af6b41/attachment.html 


More information about the openicc mailing list