samples/subsys/audio/sof: build with CONFIG_SPEED_OPTIMIZATIONS
The inner loops of SOF audio algorithms benefit from compiler optimizations. On Intel cAVS platforms, it was noted zero-overhead loops ("loop" family of instructions) is not used for fixed-size inner loops when using -Os (optimize for size) and the XCC xtensa toolchain. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
parent
35e8f42bc1
commit
212347f94d
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ CONFIG_BUILD_OUTPUT_BIN=n
|
|||
# Requires heap_info() be implemented, but no Zephyr wrapper
|
||||
CONFIG_DEBUG_MEMORY_USAGE_SCAN=n
|
||||
|
||||
# Ensure -O2 (or similar) is used for optimization
|
||||
CONFIG_SPEED_OPTIMIZATIONS=y
|
||||
|
||||
CONFIG_SCHED_DEADLINE=y
|
||||
CONFIG_SCHED_CPU_MASK=y
|
||||
CONFIG_SMP_BOOT_DELAY=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue