Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/audio/stft_process/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ else()
add_local_sources(sof stft_process_setup.c)
add_local_sources(sof stft_process_common.c)
add_local_sources(sof stft_process-generic.c)
add_local_sources(sof stft_process-hifi3.c)

if(CONFIG_IPC_MAJOR_4)
add_local_sources(sof stft_process-ipc4.c)
Expand Down
2 changes: 2 additions & 0 deletions src/audio/stft_process/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause

rsource "Kconfig.simd"

config COMP_STFT_PROCESS
tristate "STFT processing component"
default n
Expand Down
31 changes: 31 additions & 0 deletions src/audio/stft_process/Kconfig.simd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-License-Identifier: BSD-3-Clause

comment "STFT Process optimization level select"

choice "COMP_STFT_PROCESS_SIMD_LEVEL_SELECT"
prompt "choose which SIMD level used for STFT Process module"
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prompt string is grammatically incorrect. Consider updating it for clarity.

Suggested change
prompt "choose which SIMD level used for STFT Process module"
prompt "Choose which SIMD level is used for the STFT Process module"

Copilot uses AI. Check for mistakes.
depends on COMP_STFT_PROCESS
default COMP_STFT_PROCESS_HIFI_MAX

config COMP_STFT_PROCESS_HIFI_MAX
prompt "SIMD will be selected by toolchain pre-defined header"
bool
help
When this is selected, the optimization level will be
determined by the toolchain pre-defined macros in the
core isa header file.

config COMP_STFT_PROCESS_HIFI_3
prompt "Choose HIFI3 intrinsic optimized STFT Process module"
bool
help
This option is used to build HIFI3 intrinsic optimized
STFT Process code.

config COMP_STFT_PROCESS_HIFI_NONE
prompt "Choose generic C STFT Process module, no HIFI SIMD involved"
bool
help
This option is used to build STFT Process
with generic C code.
endchoice
Loading
Loading