util: Improve the cpuid assembly.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 5 Oct 2009 15:45:38 +0000 (16:45 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 5 Oct 2009 15:49:21 +0000 (16:49 +0100)
commit6971be783b970f882e873fa40e2dccde4137201f
tree22296bb402e761791260512906d3cb3200ad56fc
parent75e0a376cd32b127f3168c0af12992b5c8576e92
util: Improve the cpuid assembly.

No need to save ebx on 64bit. Use just xchgl. Refer to gcc's cpuid.h header.

Thanks to Uros Bizjak for pointing this out.
src/gallium/auxiliary/util/u_cpu_detect.c