Hello ,
I am using in my code intrinsics.
If I compile like:
icc -std=c99 -g -openmp -qopt-report=2 -o mycode mycode.c
I am receiving : Illegal instruction in line:
__m512 D = _mm512_set1_ps( FLT_MAX );
If I compile :
icc -std=c99 -g -mavx -openmp -qopt-report=2 -o mycode mycode.c
I am receiving: Illegal instruction in line:
__m512i tempy = _mm512_set1_epi32( y );
which is after "D" and after 'tempx , xIdx" . ( x and y are integers )
__m512i tempx = _mm512_set1_epi32( x ); __m512 xIdx = _mm512_castsi512_ps( tempx ); __m512i tempy = _mm512_set1_epi32( y ); __m512 yIdx = _mm512_castsi512_ps( tempy );
Any ideas?
Thanks!