mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
disabled the use of SSE4 instructions as well to make the code compatible with the old Intel and AMD chips
This commit is contained in:
parent
18039d7829
commit
50299c1d5e
@ -45,8 +45,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "opencv2/core/internal.hpp"
|
#include "opencv2/core/internal.hpp"
|
||||||
|
|
||||||
#if CV_SSE2 || CV_SSE3
|
#if CV_SSE2
|
||||||
# if !CV_SSE4_1 && !CV_SSE4_2
|
# if 1 /*!CV_SSE4_1 && !CV_SSE4_2*/
|
||||||
# define _mm_blendv_pd(a, b, m) _mm_xor_pd(a, _mm_and_pd(_mm_xor_pd(b, a), m))
|
# define _mm_blendv_pd(a, b, m) _mm_xor_pd(a, _mm_and_pd(_mm_xor_pd(b, a), m))
|
||||||
# define _mm_blendv_ps(a, b, m) _mm_xor_ps(a, _mm_and_ps(_mm_xor_ps(b, a), m))
|
# define _mm_blendv_ps(a, b, m) _mm_xor_ps(a, _mm_and_ps(_mm_xor_ps(b, a), m))
|
||||||
# endif
|
# endif
|
||||||
@ -58,7 +58,7 @@
|
|||||||
# pragma warning( disable : 4752 )
|
# pragma warning( disable : 4752 )
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# if CV_SSE2 || CV_SSE3
|
# if CV_SSE2
|
||||||
# define CV_HAAR_USE_SSE 1
|
# define CV_HAAR_USE_SSE 1
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user