diff options
| author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-10-07 21:11:14 +0200 |
|---|---|---|
| committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-10-07 21:11:14 +0200 |
| commit | ba86520cf750e2fdbb686cb3afe2acdbd447d2f9 (patch) | |
| tree | 9fee1977688c848feca722ee70bdd3bd9c5ff341 /src/gallium/include | |
| parent | 94ba48bd85ec5c62e1a303d8bb3fc25c8e153247 (diff) | |
| parent | 4d7394f89292131323fc8e39efa511a2eeb8cc60 (diff) | |
Merge branch 'gallium-0.2' of git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2
Diffstat (limited to 'src/gallium/include')
| -rw-r--r-- | src/gallium/include/pipe/p_config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index af3746c026..ef05547819 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -85,6 +85,14 @@ #define PIPE_ARCH_X86_64 #endif +#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) +#if defined(PIPE_CC_GCC) && !defined(__SSE2__) +/* #warning SSE2 support requires -msse -msse2 compiler options */ +#else +#define PIPE_ARCH_SSE +#endif +#endif + #if 0 /* FIXME */ #define PIPE_ARCH_PPC #endif |
