-
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
With common header file change merged, this patch is using the new HIFI definition to build different volume modules based on toolchain. Signed-off-by: Baofeng Tian <[email protected]>
- Loading branch information
Showing
10 changed files
with
43 additions
and
20 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,34 @@ | ||
# 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" | ||
depends on COMP_VOLUME | ||
default VOLUME_HIFI_MAX | ||
|
||
config VOLUME_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 VOLUME_HIFI_4 | ||
prompt "choose HIFI4 intrinsic optimized volume module" | ||
bool | ||
help | ||
This option used to build HIFI4 optimized volume code | ||
|
||
config VOLUME_HIFI_3 | ||
prompt "choose HIFI3 intrinsic optimized volume module" | ||
bool | ||
help | ||
This option used to build HIFI3 intrinsic optimized volume code | ||
|
||
config VOLUME_HIFI_NONE | ||
prompt "choose generic C volume module, no HIFI 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