Skip to content

Commit

Permalink
Math: IIR DF1: HiFi3: No need to initialize the read align register
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
singalsu authored and kv2019i committed Dec 3, 2024
1 parent df1cf7e commit 05020ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/iir_df1_hifi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 05020ba

Please sign in to comment.