diff options
author | José Fonseca <[email protected]> | 2010-07-14 12:23:16 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-07-14 14:38:02 +0100 |
commit | 5e2437a232b566702194bf379911d2680d24b642 (patch) | |
tree | a4d51710cf9c59c7294e17bcda646e44751e8d5a /src | |
parent | 582132aaef3fa6fa912f27c75c3b3e5bd89d3714 (diff) |
gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/include/pipe/p_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index c6ea198dbb4..74a1fa29781 100644 --- a/src/gallium/include/pipe/p_config.h +++ b/src/gallium/include/pipe/p_config.h @@ -92,6 +92,11 @@ #else #define PIPE_ARCH_SSE #endif +#if defined(PIPE_CC_GCC) && !defined(__SSSE3__) +/* #warning SSE3 support requires -msse3 compiler options */ +#else +#define PIPE_ARCH_SSSE3 +#endif #endif #if defined(__PPC__) |