LWN.net Logo

Quotes of the week

Quotes of the week

Posted Jun 29, 2012 7:09 UTC (Fri) by daenzer (✭ supporter ✭, #7050)
In reply to: Quotes of the week by bustervill
Parent article: Quotes of the week

> The developers are fiddling with LLVM for an OpenCL support and people are wondering if reusing LLVM as TGSI compiler will be worth it.

No need to wonder anymore, just build Mesa with --enable-r600-llvm-compiler. It seems to be more or less on par with the non-LLVM TGSI translator in general already.

> That of course will mean _another_ translation of the IR - from TGSI to LLVM IR.

Initially, sure. Not sure it's that much of a problem, and it doesn't have to stay that way forever.

> Also, LLVM is slooow when it comes to JIT. It's optimization passes are effective, but expensive. It cannot be used to JIT something that relies on low latency as a 3D driver.

Again, not sure it's as bad as you make it, and if it is, there's many possibilities to address that.

> TGSI compiler is one of the projects that has to be explicitly funded in order to launch.

Tom Stellard's OpenCL / LLVM compiler work is funded by AMD. But as you call what we're doing 'fiddling', maybe you can volunteer to show us how it's done? Please post to the mesa-dev mailing list. :)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds