Commit b3c77e66 authored by atinfinity's avatar atinfinity

added to check the support of AVX2

parent 45f0cf0d
......@@ -4253,6 +4253,7 @@ int normHamming(const uchar* a, int n)
result += vgetq_lane_s32 (vreinterpretq_s32_u64(bitSet2),2);
}
#elif CV_AVX2
if (USE_AVX2)
{
__m256i _r0 = _mm256_setzero_si256();
__m256i _0 = _mm256_setzero_si256();
......@@ -4303,6 +4304,7 @@ int normHamming(const uchar* a, const uchar* b, int n)
result += vgetq_lane_s32 (vreinterpretq_s32_u64(bitSet2),2);
}
#elif CV_AVX2
if (USE_AVX2)
{
__m256i _r0 = _mm256_setzero_si256();
__m256i _0 = _mm256_setzero_si256();
......
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