1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

A Very Early Gallium3D TGSI Back-End For LLVM

Mesa

Published on 22 April 2013 11:57 AM EDT
Written by Michael Larabel in Mesa
Comment On This Article

Published this weekend was a very primitive back-end for LLVM that generates TGSI, the standard intermediate representation (IR) used by Mesa's Gallium3D drivers.

Earlier this month I wrote about the proposal of Francisco Jerez to develop a TGSI back-end for LLVM as part of this year's Google Summer of Code. Jerez has already done a lot for Nouveau and to Gallium3D OpenCL support while now as an independent student developer he wants to make a TGSI LLVM back-end so that the compiler infrastructure can generate TGSI instructions that in theory could be interpreted by any of the Gallium3D graphics drivers.

This would be particularly beneficial for some OpenCL and other general purpose programming for the Nouveau driver with NVIDIA hardware. On the AMD Radeon side there is already the "R600" GPU LLVM back-end that can generate AMD GPU specific instructions from LLVM bitcode.

Francisco didn't receive any feedback from his GSoC LLVM proposal earlier this month, but he already prototyped some code. With this Git commit to his personal LLVM repository on GitHub, Francisco Jerez has developed a very early TGSI back-end for LLVM. Right now this new back-end is just over 2,500 lines of new code.

He's also bumped his mailing list thread in hopes of spurring a discussion about this possible summer project. He's also looking at having AMD's Tom Stellard be his GSoC mentor for the summer project.

About the current state of his TGSI back-end, "It's able to generate code -- though only in assembly form and with many loose ends still."

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
  2. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
  3. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  4. Sumo's Omni Gets Reloaded
Latest Linux Articles
  1. The Most Energy Efficient Radeon GPU For AMD Linux Gaming
  2. 20-Way Radeon Comparison With Open-Source Graphics For Steam On Linux Gaming
  3. Preview: OS X 10.10 Yosemite vs. Ubuntu Linux GPU Performance
  4. Radeon Graphics Yield Mixed Results With Linux 3.17 Kernel
Latest Linux News
  1. Ubuntu's Utopic Unicorn 14.10 Beta 1 Released
  2. Genode OS 14.08 Has New GUI Architecture, Pluggable VFS
  3. Another Intel Linux Power Regression Is Being Investigated
  4. DNF Makes It A Step Closer To Replacing Yum On Fedora
  5. OS Battle: Linux Takes 1.7% Desktop Marketshare
  6. PHP 5.6 Officially Released With New Debugger
  7. LibreOffice 4.3.1 Released
  8. Re-Clocking Your NVIDIA GPU With Nouveau On Linux 3.17
  9. Radeon DRM Queues More Changes, RV6xx UVD For Linux 3.18
  10. Metro 2033 Redux Will Hopefully Hit Linux Real Soon
Latest Forum Discussions
  1. Users defect to Linux as OpenBSD removes Lynx from base system
  2. Best Radeon for a Power Mac G5?
  3. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
  4. OC capability - Intel Core i5 4690K & Biostar Hi-Fi Z97WE
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. AMD Releases UVD Video Decode Support For R600 GPUs
  7. Announcing radeontop, a tool for viewing the GPU usage
  8. It's Now Possible To Play Netflix Natively On Linux Without Wine Plug-Ins