Lo/Hi for SIMD<8>

This commit is contained in:
Matthias Hochsteger 2022-11-17 13:34:24 +01:00
parent ee78c611e1
commit c18229535a

View File

@ -135,6 +135,9 @@ namespace ngcore
NETGEN_INLINE __m512d Data() const { return data; } NETGEN_INLINE __m512d Data() const { return data; }
NETGEN_INLINE __m512d & Data() { return data; } NETGEN_INLINE __m512d & Data() { return data; }
SIMD<double,4> Lo() const { return _mm512_extractf64x4_pd(data, 0); }
SIMD<double,4> Hi() const { return _mm512_extractf64x4_pd(data, 1); }
template <int I> template <int I>
double Get() const double Get() const
{ {