mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 08:09:36 +08:00
Fix issue2045 which get a error case _mm256_set_m128d op not supported by gcc 7.x
This commit is contained in:
parent
9d11e2c03e
commit
82fe059f35
@ -707,7 +707,8 @@ template<> EIGEN_STRONG_INLINE Packet4d pfrexp<Packet4d>(const Packet4d& a, Pack
|
||||
#endif
|
||||
Packet2d exponent_lo = _mm_cvtepi32_pd(vec4i_swizzle1(lo, 0, 2, 1, 3));
|
||||
Packet2d exponent_hi = _mm_cvtepi32_pd(vec4i_swizzle1(hi, 0, 2, 1, 3));
|
||||
exponent = _mm256_set_m128d(exponent_hi, exponent_lo);
|
||||
exponent = _mm256_insertf128_pd(exponent, exponent_lo, 0);
|
||||
exponent = _mm256_insertf128_pd(exponent, exponent_hi, 1);
|
||||
#endif // EIGEN_VECTORIZE_AVX512DQ
|
||||
exponent = psub(exponent, cst_1022d);
|
||||
const Packet4d cst_mant_mask = pset1frombits<Packet4d>(static_cast<uint64_t>(~0x7ff0000000000000ull));
|
||||
|
Loading…
x
Reference in New Issue
Block a user