Gallium3D's Gallivm Gets Basic AVX2 Support

Written by Michael Larabel in Mesa on 5 October 2016 at 10:56 AM EDT. 15 Comments
José Fonseca of VMware has added basic support for AVX2 to Gallivm, the driver-independent portion of LLVM integration with Gallium3D.

Gallivm is notably used by the LLVMpipe Gallium3D driver for LLVM-accelerated execution of OpenGL on CPUs. With the latest Git, Gallivm has basic support for Advanced Vector Extensions 2 (AVX2). AVX2 has been supported on Intel CPUs since Haswell and on the AMD side with Carrizo and Zen. AVX2 expands support for most instructions to 256 bits, three-operand bit manipulation and multiply, gather support, vector shifts, and other additions over the original AVX extensions found since Intel Sandy Bridge and AMD Bulldozer CPUs.

There was this commit for making use of the greater instruction size along with this commit to make use of its gather instrinsics. It will be interesting to see if this latest work has any affect on performance for modern CPUs with LLVMpipe.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week