Fix warning with AVX512f

This commit is contained in:
Gael Guennebaud 2018-10-11 10:13:48 +02:00
parent 97e2c808e9
commit 43633fbaba

View File

@ -665,6 +665,7 @@ EIGEN_STRONG_INLINE Packet8d pabs(const Packet8d& a) {
OUTPUT = _mm512_insertf32x8(_mm512_castps256_ps512(INPUTA), INPUTB, 1);
#else
#define EIGEN_INSERT_8f_INTO_16f(OUTPUT, INPUTA, INPUTB) \
OUTPUT = _mm512_undefined_ps(); \
OUTPUT = _mm512_insertf32x4(OUTPUT, _mm256_extractf128_ps(INPUTA, 0), 0); \
OUTPUT = _mm512_insertf32x4(OUTPUT, _mm256_extractf128_ps(INPUTA, 1), 1); \
OUTPUT = _mm512_insertf32x4(OUTPUT, _mm256_extractf128_ps(INPUTB, 0), 2); \