mirror of https://github.com/davisking/dlib.git
Fixed SSE detection macros to work properly with -msse3
This commit is contained in:
parent
e4abab3755
commit
d92b33de6a
|
@ -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 @@
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue