I am writing a program using AVX with G++ 5.4.0, Ubuntu 16.04.
Intel Intrinsics Guide( https://software.intel.com/sites/landingpage/IntrinsicsGuide/) said I can use
_mm256_irem_epi32
in immintrin.h to compute element-wise remainder of two vectors. However, when I include the header and compile, the compiler complains
error: ‘_mm256_irem_epi32’ was not declared in this scope
I checked the header file avxintrin.h and avx2intrin.h, seems like that function is indeed not included. If that is not a configuration problem, is there any candidate I can use for element-wise remainder? Thanks.