[Mesa-dev] [PATCH 1/2] mesa/x86: add SSE4.1 runtime detection

Matt Turner mattst88 at gmail.com
Fri May 2 12:10:10 PDT 2014


On Fri, May 2, 2014 at 11:49 AM, Ian Romanick <idr at freedesktop.org> wrote:
> Gallium has a bunch of CPU detection code, so if we need to update the
> CPU detection code in core Mesa, we should move the Gallium code to a
> higher level in the tree to be shared.  I believe this has been
> discussed before.

I just sent two patches to use gcc/clang's cpuid.h for detection on
__x86_64__. We should really prefer that over hand rolling our own
assembly detection routines.


More information about the mesa-dev mailing list