mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
Lo/Hi for SIMD<8>
This commit is contained in:
parent
ee78c611e1
commit
c18229535a
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user