Don't attempt to use MMX instructions with visualstudio since they're only partially supported.

This commit is contained in:
Benoit Steiner 2016-05-24 06:43:58 -07:00
parent 334e76537f
commit e617711306
2 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ ptranspose(PacketBlock<Packet8h,4>& kernel) {
}
#elif defined EIGEN_VECTORIZE_SSE
#elif defined EIGEN_VECTORIZE_SSE && !EIGEN_COMP_MSVC
typedef struct {
__m64 x;

View File

@ -133,7 +133,7 @@ template<> EIGEN_STRONG_INLINE Packet8h pcast<Packet8f, Packet8h>(const Packet8f
return float2half(a);
}
#elif defined EIGEN_VECTORIZE_SSE
#elif defined EIGEN_VECTORIZE_SSE && !EIGEN_COMP_MSVC
template <>
struct type_casting_traits<half, float> {
enum {