From 4ae425559d84ff1a0627fb8aaa5652c6a7522116 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Tue, 12 Nov 2024 18:10:56 +0200 Subject: [PATCH] Warning! This breaks SOF math. Signed-off-by: Seppo Ingalsuo --- src/math/exp_fcn_hifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/exp_fcn_hifi.c b/src/math/exp_fcn_hifi.c index 10775133e8a4..b7feb1cb307a 100644 --- a/src/math/exp_fcn_hifi.c +++ b/src/math/exp_fcn_hifi.c @@ -255,7 +255,7 @@ int32_t sofm_exp_int32(int32_t x) mp = lomul_s64_sr_sat_near(mp, (int64_t)x); - for (b_n = 0; b_n < 64;) { + for (b_n = 0; b_n < 2;) { AE_L64_IP(onebyfact, ponebyfact_Q63, 8); mul_s64(mp, onebyfact, &outhi, &outlo);