mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
build: update AVX2 check
- _mm256_bslli_epi128() works in GCC 4.9.3+ only - Android NDK r10 doesn't support this instruction
This commit is contained in:
parent
4748aca61f
commit
42ac089e12
@ -6,5 +6,6 @@ void test()
|
||||
{
|
||||
int data[8] = {0,0,0,0, 0,0,0,0};
|
||||
__m256i a = _mm256_loadu_si256((const __m256i *)data);
|
||||
__m256i b = _mm256_bslli_epi128(a, 1); // available in GCC 4.9.3+
|
||||
}
|
||||
int main() { return 0; }
|
||||
|
Loading…
Reference in New Issue
Block a user