1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

comment out mac in vector types

This commit is contained in:
nmeyer-ur 2020-05-18 20:31:44 +02:00
parent 323a651c71
commit 6b6bf537d3

View File

@ -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,