mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
340 B
11 lines
340 B
#if !defined __AVX2__ // MSVC supports this flag since MSVS 2013 |
|
#error "__AVX2__ define is missing" |
|
#endif |
|
#include <immintrin.h> |
|
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; }
|
|
|