From c18229535a167f994e7cd42b6801d8bb25253e58 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 17 Nov 2022 13:34:24 +0100 Subject: [PATCH] Lo/Hi for SIMD<8> --- libsrc/core/simd_avx512.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/core/simd_avx512.hpp b/libsrc/core/simd_avx512.hpp index ae37e1f0..821e52d2 100644 --- a/libsrc/core/simd_avx512.hpp +++ b/libsrc/core/simd_avx512.hpp @@ -135,6 +135,9 @@ namespace ngcore NETGEN_INLINE __m512d Data() const { return data; } NETGEN_INLINE __m512d & Data() { return data; } + SIMD Lo() const { return _mm512_extractf64x4_pd(data, 0); } + SIMD Hi() const { return _mm512_extractf64x4_pd(data, 1); } + template double Get() const {