From 5e2437a232b566702194bf379911d2680d24b642 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 14 Jul 2010 12:23:16 +0100 Subject: [PATCH] gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support. --- src/gallium/include/pipe/p_config.h | 5 +++++ 1 file changed, 5 insertions(+) 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__) -- 2.30.2