Hi, I'm working on llvm integration in gallium, but I have a small problem with the current design. Basically, the tgsi to llvm translator currently generates calls to library functions (abs(), exp(), log(), ...) at translation time, and now I want to be able to regarget llvm to GPUs. As you can imagine library calls won't work on a GPU, so I think I'm going to change the tgsi to llvm translator to generate new ops for what used to be library calls (i.e. for all the call* methods of the Instructions class) and then have the gallium_cpu turn those new ops into calls. Does anyone object that ?
Stephane ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev