From d964b7bf518d05654cfb2d04825cc2b42972898d Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Mon, 28 Aug 2023 18:44:54 +0300 Subject: [PATCH] Math: Use HiFi3 IIR_DF2T version for HiFi4 The HiFi3 code is faster and compatible so it should be used instead of generic version for HiFi4. Signed-off-by: Seppo Ingalsuo --- src/include/sof/math/iir_df2t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/sof/math/iir_df2t.h b/src/include/sof/math/iir_df2t.h index 16727942eaa4..852463b93465 100644 --- a/src/include/sof/math/iir_df2t.h +++ b/src/include/sof/math/iir_df2t.h @@ -29,7 +29,7 @@ #else # if defined __XCC__ # include -# if XCHAL_HAVE_HIFI3 == 1 +# if XCHAL_HAVE_HIFI3 == 1 || XCHAL_HAVE_HIFI4 == 1 # define IIR_GENERIC 0 # define IIR_HIFI3 1 # else