projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582132a
)
gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 14 Jul 2010 11:23:16 +0000
(12:23 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 14 Jul 2010 13:38:02 +0000
(14:38 +0100)
src/gallium/include/pipe/p_config.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_config.h
b/src/gallium/include/pipe/p_config.h
index c6ea198dbb4c33f300e9f7ce7df2b1a87e809606..74a1fa297812c277d4f46c3b828b79b2fe4b7de7 100644
(file)
--- 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__)