mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
arm-simd working
This commit is contained in:
parent
f53c069308
commit
18f5a933a9
@ -1,5 +1,3 @@
|
||||
#ifdef NOTYETWORKING
|
||||
|
||||
#include "arm_neon.h"
|
||||
|
||||
namespace ngcore
|
||||
@ -42,8 +40,11 @@ namespace ngcore
|
||||
SIMD (double v0, double v1) { data[0] = v0; data[1] = v1; }
|
||||
|
||||
SIMD (std::array<double, 2> arr)
|
||||
: data{(arr[0], arr[1])}
|
||||
{}
|
||||
// : data{(arr[0], arr[1])}
|
||||
{
|
||||
data[0] = arr[0];
|
||||
data[1] = arr[1];
|
||||
}
|
||||
|
||||
SIMD & operator= (const SIMD &) = default;
|
||||
|
||||
@ -143,4 +144,3 @@ namespace ngcore
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user