From 4bc2ad2894c84accb1f0e6dea5d7ac94ee1c4af0 Mon Sep 17 00:00:00 2001 From: nmeyer-ur Date: Fri, 8 May 2020 15:00:25 +0200 Subject: [PATCH] API change v2 --- Grid/simd/Grid_a64fx-fixedsize.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grid/simd/Grid_a64fx-fixedsize.h b/Grid/simd/Grid_a64fx-fixedsize.h index a8c2b978..232c2933 100644 --- a/Grid/simd/Grid_a64fx-fixedsize.h +++ b/Grid/simd/Grid_a64fx-fixedsize.h @@ -436,12 +436,12 @@ struct PrecisionChange { vecf sb_v = svcvt_f32_x(pg1d, b); return svuzp1(sa_v, sb_v); } - static inline void StoD (svfloat32_t s,svfloat64_t &a,svfloat64_t &b) { + static inline void StoD (vecf s,vecd *a,vecd *b) { pred pg1d = acle::pg1(); vecf sa_v = svzip1(s, s); vecf sb_v = svzip2(s, s); - a = svcvt_f64_x(pg1d, sa_v); - b = svcvt_f64_x(pg1d, sb_v); + *a = svcvt_f64_x(pg1d, sa_v); + *b = svcvt_f64_x(pg1d, sb_v); } static inline vech DtoH (vecd a,vecd b,vecd c,vecd d) { /*