-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Math: add build option to math filter
EQFIR EQIIR and TDFB are all refered from math filter, so define option in math filter, use unified SIMD selection for EQFIR EQIIR and TDFB. Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
- Loading branch information
Showing
20 changed files
with
136 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
comment "filter optimization level select" | ||
|
||
# this choice covers math iir, math fir, tdfb, and eqfir, eqiir. | ||
choice "FILTER_SIMD_LEVEL_SELECT" | ||
prompt "choose which SIMD level used for filter module" | ||
depends on COMP_FIR | ||
depends on COMP_IIR | ||
default FILTER_HIFI_MAX | ||
|
||
config FILTER_HIFI_MAX | ||
prompt "SIMD will selected by toolchain pre-defined header" | ||
bool | ||
help | ||
When this was selected, optimization level will be determined | ||
by toolchain pre-defined macros in core isa header file. | ||
|
||
config FILTER_HIFI_5 | ||
prompt "choose HIFI5 intrinsic optimized FILTER module" | ||
bool | ||
help | ||
This option used to build HIFI5 optimized FILTER code | ||
|
||
config FILTER_HIFI_4 | ||
prompt "choose HIFI4 intrinsic optimized FILTER module" | ||
bool | ||
help | ||
This option used to build HIFI4 optimized FILTER code | ||
|
||
config FILTER_HIFI_3 | ||
prompt "choose HIFI3 intrinsic optimized FILTER module" | ||
bool | ||
help | ||
This option used to build HIFI3 intrinsic optimized FILTER code | ||
|
||
config FILTER_HIFI_2 | ||
prompt "choose HIFI2ep intrinsic optimized FILTER module" | ||
bool | ||
help | ||
This option used to build HIFI2ep intrinsic optimized FILTER code | ||
|
||
config FILTER_HIFI_NONE | ||
prompt "choose generic C FILTER module, no HIFI SIMD involved" | ||
bool | ||
help | ||
This option used to build FILTER generic code. | ||
endchoice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.