Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

Illegal instruction using _mm512

$
0
0

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!

 


Viewing all articles
Browse latest Browse all 1347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>