From 2a23f133e837c1ee20544a1aee197b0ec7b05325 Mon Sep 17 00:00:00 2001 From: nmeyer-ur Date: Fri, 12 Jun 2020 17:30:38 +0200 Subject: [PATCH] reenable fcmla for VLA --- Grid/simd/Grid_vector_types.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Grid/simd/Grid_vector_types.h b/Grid/simd/Grid_vector_types.h index 634cf470..246c6a6a 100644 --- a/Grid/simd/Grid_vector_types.h +++ b/Grid/simd/Grid_vector_types.h @@ -327,9 +327,7 @@ public: // FIXME -- alias this to an accelerator_inline MAC struct. - // safety exclude fxmac from VLA (causing wrong results?) - //#if defined(A64FX) || defined(A64FXFIXEDSIZE) - #if defined(A64FXFIXEDSIZE) + #if defined(A64FX) || defined(A64FXFIXEDSIZE) friend accelerator_inline void mac(Grid_simd *__restrict__ y, const Grid_simd *__restrict__ a, const Grid_simd *__restrict__ x) {