summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_cpu_detect.h
AgeCommit message (Collapse)Author
2010-08-14u_cpu_detect: remove arch and little_endianLuca Barbieri
This logic duplicates the one in p_config.h, so remove it and adjust the only two places that were using it.
2009-10-22util: Set cpu endianness too.José Fonseca
2009-09-29util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca
I was waiting for the need to use this code to arise, and it finally came. I've tested building this on Linux and Windows, both x86 and x64_64. But it might break other platforms. Please bear with me and help me fix it. Many thanks to Dennis Smit who submitted this, and Eric Anholt whose work this was based on.
2008-03-10gallium: Import Dennis Smit cpu detection code.José Fonseca
It still needs a slight code massasing to integrate with the rest of gallium (namely mapping the OS_* ARCH_* defines), but I'm commiting anyway so that it is available to be used when somebody needs it.