Fix another instance of Packet2l on win32.

This commit is contained in:
Antonio Sánchez 2024-03-26 15:48:44 +00:00
parent 9f77ce4f19
commit d8aa4d6ba5

View File

@ -1641,7 +1641,11 @@ EIGEN_STRONG_INLINE double pfirst<Packet2d>(const Packet2d& a) {
}
template <>
EIGEN_STRONG_INLINE int64_t pfirst<Packet2l>(const Packet2l& a) {
#if EIGEN_ARCH_x86_64
int64_t x = _mm_cvtsi128_si64(a);
#else
int64_t x = numext::bit_cast<int64_t>(_mm_cvtsd_f64(_mm_castsi128_pd(a)));
#endif
return x;
}
template <>