mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-29 23:34:12 +08:00
Handle missing AVX512 intrinsic
This commit is contained in:
parent
122befe54c
commit
9099c5eac7
@ -1285,7 +1285,11 @@ EIGEN_STRONG_INLINE int64_t pfirst<Packet8l>(const Packet8l& a) {
|
|||||||
}
|
}
|
||||||
template <>
|
template <>
|
||||||
EIGEN_STRONG_INLINE int pfirst<Packet16i>(const Packet16i& a) {
|
EIGEN_STRONG_INLINE int pfirst<Packet16i>(const Packet16i& a) {
|
||||||
|
#if EIGEN_GNUC_STRICT_LESS_THAN(11, 0, 0)
|
||||||
|
return _mm_cvtsi128_si32(_mm512_castsi512_si128(a));
|
||||||
|
#else
|
||||||
return _mm512_cvtsi512_si32(a);
|
return _mm512_cvtsi512_si32(a);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user