Skip to content

Commit

Permalink
Math: Use HiFi3 IIR_DF2T version for HiFi4
Browse files Browse the repository at this point in the history
The HiFi3 code is faster and compatible so it should be used
instead of generic version for HiFi4.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu committed Sep 1, 2023
1 parent 0b12265 commit 6d70765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/sof/math/iir_df2t.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#else
# if defined __XCC__
# include <xtensa/config/core-isa.h>
# if XCHAL_HAVE_HIFI3 == 1
# if XCHAL_HAVE_HIFI3 == 1 || XCHAL_HAVE_HIFI4 == 1
# define IIR_GENERIC 0
# define IIR_HIFI3 1
# else
Expand Down

0 comments on commit 6d70765

Please sign in to comment.