From 6b6bf537d33831ce25f9d87abb55bb1975558220 Mon Sep 17 00:00:00 2001 From: nmeyer-ur Date: Mon, 18 May 2020 20:31:44 +0200 Subject: [PATCH] comment out mac in vector types --- Grid/simd/Grid_vector_types.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Grid/simd/Grid_vector_types.h b/Grid/simd/Grid_vector_types.h index 1e1ae71e..199d1487 100644 --- a/Grid/simd/Grid_vector_types.h +++ b/Grid/simd/Grid_vector_types.h @@ -298,19 +298,24 @@ public: /////////////////////////////////////////////// // FIXME -- alias this to an accelerator_inline MAC struct. - #if defined(A64FX) || defined(A64FXFIXEDSIZE) // on A64FX use FCMLA + + // A64FX: use FCMLA + /* + #if defined(A64FX) || defined(A64FXFIXEDSIZE) // A64FX: use FCMLA friend accelerator_inline void mac(Grid_simd *__restrict__ y, const Grid_simd *__restrict__ a, const Grid_simd *__restrict__ x) { y->v = Optimization::MultAddComplex::mac(a->v, x->v, y->v); }; #else + #endif + + */ friend accelerator_inline void mac(Grid_simd *__restrict__ y, const Grid_simd *__restrict__ a, const Grid_simd *__restrict__ x) { *y = (*a) * (*x) + (*y); }; - #endif friend accelerator_inline void mult(Grid_simd *__restrict__ y, const Grid_simd *__restrict__ l,