diff options
author | 2018-11-27 17:25:49 -0800 | |
---|---|---|
committer | 2018-11-27 17:25:49 -0800 | |
commit | 80f1651f3579cd45c6874c64a0439fa32928aa64 (patch) | |
tree | f05b4ce954100afd81de15853650fb812c9ae77a /Eigen | |
parent | a4159dba080f5621f19f814440553ba734c8e712 (diff) |
Use explicit packet type in SSE/PacketMath pldexp
Diffstat (limited to 'Eigen')
-rwxr-xr-x | Eigen/src/Core/arch/SSE/PacketMath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 800eb4d86..1a2710a3d 100755 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -579,7 +579,7 @@ template<> EIGEN_STRONG_INLINE Packet4f pldexp<Packet4f>(const Packet4f& a, cons } template<> EIGEN_STRONG_INLINE Packet2d pldexp<Packet2d>(const Packet2d& a, const Packet2d& exponent) { - const __m128i cst_1023_0 = _mm_setr_epi32(1023, 1023, 0, 0); + const Packet4i cst_1023_0 = _mm_setr_epi32(1023, 1023, 0, 0); Packet4i emm0 = _mm_cvttpd_epi32(exponent); emm0 = padd(emm0, cst_1023_0); emm0 = _mm_slli_epi32(emm0, 20); |