I am trying to divide two __m128i variables. For that, I tried to use the avx intrinsic _mm_div_epi32
, but the compiler complains that '_mm_div_epi32' was not declared in this scope. I am using many other avx intrinsics as well in the code, and they work fine.
I am using gcc compiler version 5.4 and compile with the flag -mavx2. Also, I include the header file immintrin.h
.