From 18f5a933a9a3f6b7d181780e06a4f7fb8f3f9011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Sat, 30 Jan 2021 21:02:49 +0100 Subject: [PATCH] arm-simd working --- libsrc/core/simd_arm64.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsrc/core/simd_arm64.hpp b/libsrc/core/simd_arm64.hpp index c7137cb9..e3c70b8f 100644 --- a/libsrc/core/simd_arm64.hpp +++ b/libsrc/core/simd_arm64.hpp @@ -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 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