mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Don't attempt to use MMX instructions with visualstudio since they're only partially supported.
This commit is contained in:
parent
334e76537f
commit
e617711306
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user