Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

error: cast to type "__m64" is not allowed

Nicolas_Cadio1
Beginner
538 Views
Hello,
I use ICCVersion 11.1 on Linux and when I compile my program with ICC, I have this error :
error: cast to type "__m64" is not allowed
m1 = _mm_set_epi64 ((__m64)0LL, *(__m64 *)input_line); // load 8 pixels of line 1
^
With GCCversion 4.4.5, I have noproblemduring the compilation.
There is an option for ICC to allow the cast to type "__m64", or how I can replace the cast by something ?
Thanks, Nicolas
0 Kudos
1 Reply
Nicolas_Cadio1
Beginner
538 Views
To resolve this problem :
__m128i m1;
__m64 m0;
m0 = _mm_setzero_si64();
m1 = _mm_set_epi64 (m0, *(__m64 *)input_line);
0 Kudos
Reply