From 05020ba369214f1dcaf8e036daeb38eb4a84e234 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Wed, 27 Nov 2024 15:59:11 +0200 Subject: [PATCH] Math: IIR DF1: HiFi3: No need to initialize the read align register The set to AE_ZALIGN64() is needed only for aligning writes, not reads. The IIR coefficients are only read in function iir_df1() so this is not needed. Ref: HiFi3 DSP User's Guide, page 35, aligning stores. Signed-off-by: Seppo Ingalsuo --- src/math/iir_df1_hifi3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/iir_df1_hifi3.c b/src/math/iir_df1_hifi3.c index cb4dca26ad4b..7c1237f55f79 100644 --- a/src/math/iir_df1_hifi3.c +++ b/src/math/iir_df1_hifi3.c @@ -49,7 +49,7 @@ int32_t iir_df1(struct iir_state_df1 *iir, int32_t x) { ae_int64 acc; - ae_valign coef_align = AE_ZALIGN64(); + ae_valign coef_align; ae_int32x2 coef_a2a1; ae_int32x2 coef_b2b1; ae_int32x2 coef_b0;