mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
AVX512: _mm512_rsqrt28_ps is available for AVX512ER only
(grafted from 40b4bf3d32265152ae26c2f630f6f70e5d676f3d )
This commit is contained in:
parent
c2f9e6cb37
commit
1939c971a3
@ -171,6 +171,9 @@
|
||||
#ifdef __AVX512DQ__
|
||||
#define EIGEN_VECTORIZE_AVX512DQ
|
||||
#endif
|
||||
#ifdef __AVX512ER__
|
||||
#define EIGEN_VECTORIZE_AVX512ER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// include files
|
||||
|
@ -375,7 +375,7 @@ prsqrt<Packet8d>(const Packet8d& _x) {
|
||||
// Insert NaNs and Infs in all the right places.
|
||||
return _mm512_mask_blend_pd(le_zero_mask, x, infs_and_nans);
|
||||
}
|
||||
#else
|
||||
#elif defined(EIGEN_VECTORIZE_AVX512ER)
|
||||
template <>
|
||||
EIGEN_STRONG_INLINE Packet16f prsqrt<Packet16f>(const Packet16f& x) {
|
||||
return _mm512_rsqrt28_ps(x);
|
||||
|
Loading…
x
Reference in New Issue
Block a user