summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-12-25 19:09:56 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-12-25 19:09:56 +0100
commit782bb1624b3ac9d340cb12f2ca52b549c64c23e5 (patch)
treeca7d7d2c47bc4f0c912904be1846041cf629a6e3
parentb9b0b1ff957d72407cd2b6a28a18c34a3038b159 (diff)
downloaddabmod-782bb1624b3ac9d340cb12f2ca52b549c64c23e5.tar.gz
dabmod-782bb1624b3ac9d340cb12f2ca52b549c64c23e5.tar.bz2
dabmod-782bb1624b3ac9d340cb12f2ca52b549c64c23e5.zip
FormatConverter: disable SSE
-rw-r--r--src/FormatConverter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FormatConverter.cpp b/src/FormatConverter.cpp
index 8b510bd..766b6d8 100644
--- a/src/FormatConverter.cpp
+++ b/src/FormatConverter.cpp
@@ -54,7 +54,10 @@ int FormatConverter::process(Buffer* const dataIn, Buffer* dataOut)
float* in = reinterpret_cast<float*>(dataIn->getData());
-#ifdef __SSE__
+#if 0
+ // Disabled because subscripting a __m64 doesn't seem to work
+ // on all platforms.
+
/*
_mm_cvtps_pi8 does:
|<----------- 128 bits ------------>|