From 48024ae3c7b6c6e01d353e8a890c898e28465c02 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 2 Sep 2023 23:34:50 +0200 Subject: [PATCH] Fix armv7 build Signed-off-by: falkTX --- source/modules/zita-resampler/resampler.cc | 2 +- source/modules/zita-resampler/vresampler.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/modules/zita-resampler/resampler.cc b/source/modules/zita-resampler/resampler.cc index 1bbeff5a3..542932b88 100644 --- a/source/modules/zita-resampler/resampler.cc +++ b/source/modules/zita-resampler/resampler.cc @@ -282,7 +282,7 @@ bool Resampler::process (void) S = vmlaq_f32 (S, vextq_f32 (T, T, 2), C2 [i]); S = vmlaq_f32 (S, vld1q_f32 (q1), C1 [i]); } - *out_data++ = vaddvq_f32(S); + *out_data++ = S [0] + S [1] + S [2] + S [3]; } #else diff --git a/source/modules/zita-resampler/vresampler.cc b/source/modules/zita-resampler/vresampler.cc index 313bfdcdc..146e5e10a 100644 --- a/source/modules/zita-resampler/vresampler.cc +++ b/source/modules/zita-resampler/vresampler.cc @@ -314,7 +314,7 @@ bool VResampler::process (void) S = vmlaq_f32 (S, vextq_f32 (T, T, 2), C2 [i]); S = vmlaq_f32 (S, vld1q_f32 (q1), C1 [i]); } - *out_data++ = vaddvq_f32 (S); + *out_data++ = S [0] + S [1] + S [2] + S [3]; } #else