gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 14 Jul 2010 11:23:16 +0000 (12:23 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 14 Jul 2010 13:38:02 +0000 (14:38 +0100)
src/gallium/include/pipe/p_config.h

index c6ea198dbb4c33f300e9f7ce7df2b1a87e809606..74a1fa297812c277d4f46c3b828b79b2fe4b7de7 100644 (file)
 #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__)