-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Volume: Add volume simd build option
Previously, volume simd version selection is based on compiler toolchain, this change keep the original logic as default, if there is no valid simd option was selected. If there is a selection from kconfig, then this option will override compiler build option and be used to build volume module. Signed-off-by: Baofeng Tian <[email protected]>
- Loading branch information
Showing
10 changed files
with
47 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
comment "volume optimization level select" | ||
|
||
choice "VOLUME_SIMD_LEVEL_SELECT" | ||
prompt "choose which SIMD level used for volume module" | ||
|
||
config VOLUME_SIMD_TOOLCHAIN_SELECT | ||
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 VOLUME_HIFI3 | ||
prompt "choose HIFI3 intrinsic optimized volume module" | ||
bool | ||
help | ||
This option used to build HIFI3 intrinsic optimized volume code | ||
|
||
config VOLUME_HIFI4 | ||
prompt "choose HIFI4 intrinsic optimized volume module" | ||
bool | ||
help | ||
This option used to build HIFI4 optimized volume code | ||
|
||
config VOLUME_GENERIC | ||
prompt "choose generic C volume module, no SIMD involved" | ||
bool | ||
help | ||
This option used to build volume 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
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