提交 f1690557 编写于 作者: J Josh Doe

core/stat: fix build with 32-bit

Optimization introduced in b782d8bb only works for 64-bit builds, but
ifdef failed to check for this.
上级 f8facadc
......@@ -225,7 +225,7 @@ template <>
int countNonZero_ <uchar> (const uchar* src, int len)
{
int i=0, nz = 0;
#if (defined CV_SSE4_2 && CV_SSE4_2)
#if (defined CV_SSE4_2 && CV_SSE4_2 && (_WIN64 || __amd64__))
if(USE_SSE4_2)//5x-6x
{
__m128i pattern = _mm_setzero_si128 ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册