mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Fix another instance of Packet2l on win32.
This commit is contained in:
parent
9f77ce4f19
commit
d8aa4d6ba5
@ -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 <>
|
||||
|
Loading…
x
Reference in New Issue
Block a user