Disable the use of MMX instructions since the code is broken on many platforms

This commit is contained in:
Benoit Steiner 2016-05-27 09:13:26 -07:00
parent f2c86384f4
commit 3a5d6a3c38
2 changed files with 6 additions and 2 deletions

View File

@ -529,7 +529,9 @@ ptranspose(PacketBlock<Packet8h,4>& kernel) {
}
#elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC)
// Disable the following code since it's broken on too many platforms / compilers.
//#elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC)
#elif 0
typedef struct {
__m64 x;

View File

@ -128,7 +128,9 @@ template<> EIGEN_STRONG_INLINE Packet8h pcast<Packet8f, Packet8h>(const Packet8f
return float2half(a);
}
#elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC)
// Disable the following code since it's broken on too many platforms / compilers.
//#elif defined(EIGEN_VECTORIZE_SSE) && (!EIGEN_ARCH_x86_64) && (!EIGEN_COMP_MSVC)
#elif 0
template <>
struct type_casting_traits<Eigen::half, float> {