mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49: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 {
|
typedef struct {
|
||||||
__m64 x;
|
__m64 x;
|
||||||
|
@ -133,7 +133,7 @@ template<> EIGEN_STRONG_INLINE Packet8h pcast<Packet8f, Packet8h>(const Packet8f
|
|||||||
return float2half(a);
|
return float2half(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined EIGEN_VECTORIZE_SSE
|
#elif defined EIGEN_VECTORIZE_SSE && !EIGEN_COMP_MSVC
|
||||||
template <>
|
template <>
|
||||||
struct type_casting_traits<half, float> {
|
struct type_casting_traits<half, float> {
|
||||||
enum {
|
enum {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user