Audio: Aria: Add HiFi5 SIMD align limit set.

Since the HiFi5 implementation of aria uses 32x4 load
and store instructions, so add the HiFi5 version alignment
set for aria.

Signed-off-by: Andrula Song <andrula.song@intel.com>
This commit is contained in:
Andrula Song 2024-01-29 18:24:18 +08:00 committed by Kai Vehmanen
parent 2752cdfe9c
commit d46d7831cb
1 changed files with 3 additions and 1 deletions

View File

@ -162,8 +162,10 @@ static void aria_set_stream_params(struct comp_buffer *buffer,
const struct ipc4_audio_format *audio_fmt = &mod->priv.cfg.base_cfg.audio_fmt; const struct ipc4_audio_format *audio_fmt = &mod->priv.cfg.base_cfg.audio_fmt;
ipc4_update_buffer_format(buffer, audio_fmt); ipc4_update_buffer_format(buffer, audio_fmt);
#ifndef ARIA_GENERIC #ifdef ARIA_HIFI3
audio_stream_set_align(8, 1, &buffer->stream); audio_stream_set_align(8, 1, &buffer->stream);
#elif ARIA_HIFI5
audio_stream_set_align(16, 1, &buffer->stream);
#endif #endif
} }