fmt-ops: add R-V V optimizations for f32_s16

This commit is contained in:
sunyuechi 2024-09-17 08:58:14 +08:00 committed by Wim Taymans
parent 8166b9c580
commit d932e52d5b
6 changed files with 71 additions and 0 deletions

View file

@ -176,6 +176,9 @@ static struct conv_info conv_table[] =
#if defined (HAVE_SSE2)
MAKE(F32, S16, 0, conv_f32_to_s16_sse2, SPA_CPU_FLAG_SSE2),
#endif
#if defined (HAVE_RVV)
MAKE(F32, S16, 0, conv_f32_to_s16_rvv, SPA_CPU_FLAG_RISCV_V),
#endif
MAKE(F32, S16, 0, conv_f32_to_s16_c),