Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7644 Discussions

error: cast to type "__m64" is not allowed

Nicolas_Cadio1
Beginner
225 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
225 Views
To resolve this problem :
__m128i m1;
__m64 m0;
m0 = _mm_setzero_si64();
m1 = _mm_set_epi64 (m0, *(__m64 *)input_line);
Reply