Intel X.Org Driver Gets Hand-Tuning For SSE4, AVX2

Written by Michael Larabel in Intel on 26 February 2013 at 08:28 AM EST. 18 Comments
INTEL
Chris Wilson at Intel has begun hand-tuning his SNA acceleration architecture within the Intel X.Org driver in order to take advantage of modern CPU instruction set extensions.

With commits that started getting pushed into the mainline xf86-video-intel driver repository over the night, Chris began making changes to the Intel driver to let it take advantage of more advanced instruction set extensions found on modern CPUs. The CPU capabilities are then checked at run-time so the most appropriate version of the hand-tuned code can be utilized.

The basic hot-spot code-paths are now optimized for SSE2 but he's added in separate code-paths for SSE 4.2 and AVX/AVX2 (Advanced Vector Extensions 2) at this time. SSE 4.2 dates back to Intel "Nehalem" CPUs while AVX was introduced with "Sandy Bridge" and AVX2 is coming with "Haswell" processors in the coming months.

Right now it appears the hot areas in the code where he's doing most of the tuning work is within the vertex programs. This should allow for slightly enhanced performance on modern Intel CPUs using this driver and the currently-experimental SNA back-end.

The latest SNA code activity within the driver can be found via this CGit query. Now to hope that the Intel SNA code finally replaces the UXA acceleration back-end, so all of this continued work by Chris Wilson won't go to waste.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week