summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/translate/translate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate.c b/src/gallium/auxiliary/translate/translate.c
index 86ebeae2a71..b04bc6eefd7 100644
--- a/src/gallium/auxiliary/translate/translate.c
+++ b/src/gallium/auxiliary/translate/translate.c
@@ -38,9 +38,11 @@ struct translate *translate_create( const struct translate_key *key )
{
struct translate *translate = NULL;
+#if defined(__i386__) || defined(__386__) || defined(i386)
translate = translate_sse2_create( key );
if (translate)
return translate;
+#endif
return translate_generic_create( key );
}