History log of /external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef2c80f5064b2d1830cea5bbcacde850138d54c4 07-Apr-2011 Brian Paul <brianp@vmware.com> util: add cpu detection for sse 4.2 and avx
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
1e105741f1e0ae4946febb41c844ed5741a54ec1 07-Apr-2011 Brian Paul <brianp@vmware.com> util: simplify bit shifting in util_cpu_detect()
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
3bdbccef2adfc699a737d7d25911004938bbbfcc 22-Aug-2010 Vinson Lee <vlee@vmware.com> util: Use #ifdef instead of #if.

This is a typo fix of earlier commit 0f3b3751b8643352dcc242567b3696bd1505df1d.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
0f3b3751b8643352dcc242567b3696bd1505df1d 22-Aug-2010 Vinson Lee <vlee@vmware.com> util: Define dump_cpu only for DEBUG builds.

dump_cpu is used only when DEBUG is defined.

Fixes the following GCC warning on builds without DEBUG defined.
util/u_cpu_detect.c:76: warning: 'debug_get_option_dump_cpu' defined but not used
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
7a40d15e6c6b8ebc971be0e926c7027a85db96a0 21-Aug-2010 José Fonseca <jfonseca@vmware.com> util: Remove the x86 exception handlers.

Unused now that check_os_katmai_support was removed.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
15a3b42e135a3a2cb463ec3cff80a55dd8528051 17-Aug-2010 Vinson Lee <vlee@vmware.com> util: Remove check_os_katmai_support.

check_os_katmai_support checks that the operating system running on a
SSE-capable processor supports SSE. This is necessary for unpatched
2.2.x and earlier kernels. 2.4.x and later kernels support SSE.

check_os_katmai_support will disable SSE capabilities for 32-bit x86
operating systems for which there is no code path. Currently, this
function handles Linux, Windows, and several BSDs. Mac OS, Cygwin, and
Solaris are several operating systems with no code paths.

Rather than add code for the unhandled operating systems, remove this
function altogether. This will fix SSE detection on all recent 32-bit
x86 operating systems. This completely breaks functionality on unpatched
2.2.x and earlier kernels, although there are likely no Gallium3D users
on such operating systems.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
7f5202be63c6dc639e57d11ef8253e79dd349f59 15-Aug-2010 Jakob Bornecrantz <wallbraker@gmail.com> gallium: Make printing info on debug builds default off

This commit silences the printing off most of the debug information
when running debug builds. The big culprits are: the tgsi sanity checker
that gets run on all shaders on debug; all the options; and
finaly the cpu caps printer.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
923256626931c057d1a7c20d8900768b0c1faea9 13-Aug-2010 Luca Barbieri <luca@luca-barbieri.com> u_cpu_detect: remove arch and little_endian

This logic duplicates the one in p_config.h, so remove it and adjust
the only two places that were using it.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
14e9fbee1cef281c6849a5f2a6d2cc66bfd4b3fd 06-Aug-2010 Brian Paul <brianp@vmware.com> gallium: remove stray semicolons
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
4d65055b1f2023f95a4f9c2bfab55a67ef72739d 06-Aug-2010 Jakob Bornecrantz <jakob@vmware.com> util: Add option to not dump cpu caps
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
b17ee335e3398cd1bbd26f5411e7ee6fb6839286 27-Jul-2010 Brian Paul <brianp@vmware.com> util: fix unused function warning on non-x86
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
3cef6c42bc0966ee988c0e67935053e8ed93ab5e 24-Jul-2010 nobled <nobled@dreamwidth.org> util: fix CPU detection on OS X

s/PIPE_OS_DARWIN/PIPE_OS_APPLE, since there is no PIPE_OS_DARWIN.

Acked-by: Vinson Lee <vlee@vmware.com>
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
c4c11eb456b773480d37ac34f98b9b44ae7c514a 18-Nov-2009 Brian Paul <brianp@vmware.com> gallium/util: replace //-style comments
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
5eba607db6c50181bb12be5aee3735aafb40372e 27-Oct-2009 José Fonseca <jfonseca@vmware.com> util: Drop return value from cpuid().
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
0426227b68be9ad4ab7ed3591e77f31f3e21fbec 27-Oct-2009 José Fonseca <jfonseca@vmware.com> util: Fix cpuid on MSVC.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
4797ce0d194720369b46d51733536d02b4a14473 22-Oct-2009 José Fonseca <jfonseca@vmware.com> util: Set cpu endianness too.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
b2b239691dfe593676aaee0cd990fa76354ac96f 18-Oct-2009 Marc Dietrich <marvin24@gmx.de> gallium/util: fix cpu detection on ppc

As we are compiling with -D_BSD_SOURCE, sigjmp_buf and siglongjmp
should be replaced by the non-sig functions (see man 3 setjmp).
Tested on linux/cell.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
3ce3c03257bccc5f9e8a6caf0f39565a87856eaf 14-Oct-2009 José Fonseca <jfonseca@vmware.com> util: Fix cpu detection on Windows. Cleanup.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
c595dea23c6e77dc5d44a7f4b86916b72e09f970 09-Oct-2009 José Fonseca <jfonseca@vmware.com> util: Force ESI register for cpuid's ebx result.

Fixes a segfault and better code. Unfortunately using an arbitrary
register ("=r") causes the gcc to abort when the code is optimized saying
it can't satisfy the constraint. Setting seems to do the trick.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
6971be783b970f882e873fa40e2dccde4137201f 05-Oct-2009 José Fonseca <jfonseca@vmware.com> 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.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
7a7dfb09aadf0509db4c1e2752fff5b75c59406b 04-Oct-2009 José Fonseca <jfonseca@vmware.com> util: Fix cpuid invocation for x86_64.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
a81fb2a0d2c9a94fa362705edd1281fa7699d093 29-Sep-2009 José Fonseca <jfonseca@vmware.com> util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.

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.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c
01bd21eef8f572944c09771f44e3006e2991280e 10-Mar-2008 José Fonseca <jrfonseca@tungstengraphics.com> gallium: Import Dennis Smit cpu detection code.

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.
/external/mesa3d/src/gallium/auxiliary/util/u_cpu_detect.c