From: José Fonseca Date: Wed, 14 Jul 2010 11:23:16 +0000 (+0100) Subject: gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e2437a232b566702194bf379911d2680d24b642;p=mesa.git gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support. --- 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__)