This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Intel Compiler reports errors concerning class "__m128"

Tags: None
(comma "," separated)
ktroj
Registered Member
Posts
1
Karma
0
OS
Hello everyone,
I use VS C++ 2008 with Intel Compiler. The compiler is not able to pass through the Eigen library when builds a x64 plattform application.

Here is the output:

1>Compiling with Intel(R) C++ 10.1.021 [Intel(R) 64]... (Intel C++ Environment)
1>ComponentRastrigin.cpp
1>C:\...\Eigen/src/Core/arch/SSE/PacketMath.h(120): error: class "__m128" has no member "m128_f32"
1> template<> EIGEN_STRONG_INLINE float ei_pfirst<__m128>(const __m128& a) { return a.m128_f32[0]; }
1> ^
1> ^
1>C:\...\Eigen/src/Core/arch/SSE/PacketMath.h(120): error: expression must have class type
1> template<> EIGEN_STRONG_INLINE float ei_pfirst<__m128>(const __m128& a) { return a.m128_f32[0]; }
1> ^
1>
1>C:\...\Eigen/src/Core/arch/SSE/PacketMath.h(121): error: class "__m128d" has no member "m128d_f64"
1> template<> EIGEN_STRONG_INLINE double ei_pfirst<__m128d>(const __m128d& a) { return a.m128d_f64[0]; }
1> ^
1>
1>C:\...\Eigen/src/Core/arch/SSE/PacketMath.h(121): error: expression must have class type
1> template<> EIGEN_STRONG_INLINE double ei_pfirst<__m128d>(const __m128d& a) { return a.m128d_f64[0]; }
1>
...
The problem with access to the components of the class "__m128" has already been reported to the Intel (e.g. http://software.intel.com/en-us/forums/ ... hp?t=67800).

Of course, the problem disappears when I use the MSC Compiler.

Any advices how to manage with the Intel Compiler problems by apropriate configuration or modification of the Eigen Library as well as by configuration of VS project preferences would be appreciated.
Thanks,
Krzysztof
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
should be fixed in both branches.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]