Disable usage of MMX with msvc.

This commit is contained in:
Gael Guennebaud 2016-05-26 17:58:46 +02:00
parent e8cef383b7
commit 7ff5fadcc0
2 changed files with 2 additions and 15 deletions

View File

@ -529,15 +529,7 @@ ptranspose(PacketBlock<Packet8h,4>& kernel) {
} }
#elif defined(EIGEN_VECTORIZE_SSE) && !EIGEN_ARCH_x86_64 #elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC)
} // end namespace internal
} // end namespace Eigen
#include <mmintrin.h>
namespace Eigen {
namespace internal {
typedef struct { typedef struct {
__m64 x; __m64 x;

View File

@ -128,12 +128,7 @@ template<> EIGEN_STRONG_INLINE Packet8h pcast<Packet8f, Packet8h>(const Packet8f
return float2half(a); return float2half(a);
} }
#elif defined(EIGEN_VECTORIZE_SSE) && !EIGEN_ARCH_x86_64 #elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC)
} // end namespace internal
} // end namespace Eigen
#include <mmintrin.h>
namespace Eigen { namespace Eigen {
namespace internal { namespace internal {