Commit d92b33de authored by Davis King's avatar Davis King

Fixed SSE detection macros to work properly with -msse3

parent e4abab37
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#ifdef __SSE2__ #ifdef __SSE2__
#define DLIB_HAVE_SSE2 #define DLIB_HAVE_SSE2
#endif #endif
#ifdef __SSE3__ #ifdef __SSSE3__
#define DLIB_HAVE_SSE3 #define DLIB_HAVE_SSE3
#endif #endif
#ifdef __SSE4_1__ #ifdef __SSE4_1__
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
#endif #endif
#ifdef DLIB_HAVE_SSE3 #ifdef DLIB_HAVE_SSE3
#include <pmmintrin.h> // SSE3 #include <pmmintrin.h> // SSE3
#include <tmmintrin.h>
#endif #endif
#ifdef DLIB_HAVE_SSE41 #ifdef DLIB_HAVE_SSE41
#include <smmintrin.h> // SSE4 #include <smmintrin.h> // SSE4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment