We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd437f commit f3ad5f1Copy full SHA for f3ad5f1
include/xsimd/arch/xsimd_avx512f.hpp
@@ -55,7 +55,7 @@ namespace xsimd
55
}
56
XSIMD_INLINE __m256 upper_half(__m512 self) noexcept
57
{
58
- return _mm512_extractf32x8_ps(self, 1);
+ return _mm256_castsi256_ps(_mm512_extracti64x4_epi64(_mm512_castps_si512(self), 1));
59
60
XSIMD_INLINE __m256d upper_half(__m512d self) noexcept
61
0 commit comments