aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/AVX512
diff options
context:
space:
mode:
authorGravatar Anuj Rawat <anuj.rawat@intel.com>2020-01-09 11:50:50 -0800
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-01-10 18:05:42 +0000
commit452371cead5e83131a816b1069e1aec4b9c6cf36 (patch)
treea3a319e7698d2f7db9cd22106057a2b97e70ae37 /Eigen/src/Core/arch/AVX512
parent601f89dfd0e02df0010466139d34ae7940d91b3a (diff)
Fix for gcc build error when using Eigen headers with AVX512
Diffstat (limited to 'Eigen/src/Core/arch/AVX512')
-rw-r--r--Eigen/src/Core/arch/AVX512/MathFunctions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/AVX512/MathFunctions.h b/Eigen/src/Core/arch/AVX512/MathFunctions.h
index 0346c1d95..67043d01b 100644
--- a/Eigen/src/Core/arch/AVX512/MathFunctions.h
+++ b/Eigen/src/Core/arch/AVX512/MathFunctions.h
@@ -72,7 +72,7 @@ plog<Packet16f>(const Packet16f& _x) {
x = pmax(x, p16f_min_norm_pos);
// Extract the shifted exponents.
- Packet16f emm0 = _mm512_cvtepi32_ps(_mm512_srli_epi32(preinterpret<Packet16i,Packet16f>(x), 23));
+ Packet16f emm0 = _mm512_cvtepi32_ps(_mm512_srli_epi32((preinterpret<Packet16i,Packet16f>(x)), 23));
Packet16f e = _mm512_sub_ps(emm0, p16f_126f);
// Set the exponents to -1, i.e. x are in the range [0.5,1).