fmt-ops: add RVV optimizations for f32d_to_s32

This commit is contained in:
sunyuechi 2024-09-25 13:11:08 +08:00 committed by hleft
parent c7c5b61dac
commit 79d41e183e
5 changed files with 65 additions and 0 deletions

View file

@ -240,6 +240,9 @@ static struct conv_info conv_table[] =
#endif
#if defined (HAVE_SSE2)
MAKE(F32P, S32, 0, conv_f32d_to_s32_sse2, SPA_CPU_FLAG_SSE2),
#endif
#if defined (HAVE_RVV)
MAKE(F32P, S32, 0, conv_f32d_to_s32_rvv, SPA_CPU_FLAG_RISCV_V),
#endif
MAKE(F32P, S32, 0, conv_f32d_to_s32_c),