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 <seppo.ingalsuo@linux.intel.com>
  • Loading branch information
singalsu authored and lgirdwood committed Sep 1, 2023
1 parent fd535f0 commit d964b7b
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 d964b7b

Please sign in to comment.