mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-31 09:12:02 +08:00
Fix argument for _mm256_cvtps_ph imm parameter
(cherry picked from commit d4b05454a7b33139ce6636584550780ff15af6ed)
This commit is contained in:
parent
33ba98b641
commit
daa0b70a65
@ -1020,7 +1020,7 @@ EIGEN_STRONG_INLINE Packet8f half2float(const Packet8h& a) {
|
||||
|
||||
EIGEN_STRONG_INLINE Packet8h float2half(const Packet8f& a) {
|
||||
#ifdef EIGEN_HAS_FP16_C
|
||||
return _mm256_cvtps_ph(a, _MM_FROUND_TO_NEAREST_INT|_MM_FROUND_NO_EXC);
|
||||
return _mm256_cvtps_ph(a, _MM_FROUND_TO_NEAREST_INT);
|
||||
#else
|
||||
EIGEN_ALIGN32 float aux[8];
|
||||
pstore(aux, a);
|
||||
|
Loading…
x
Reference in New Issue
Block a user