Mesa (master): gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Jul 14 13:41:23 UTC 2010
Module: Mesa
Branch: master
Commit: 5e2437a232b566702194bf379911d2680d24b642
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e2437a232b566702194bf379911d2680d24b642
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Jul 14 12:23:16 2010 +0100
gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.
---
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 c6ea198..74a1fa2 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__)
More information about the mesa-commit
mailing list