fmt-ops: add RVV optimizations for s16_to_f32d

This commit is contained in:
sunyuechi 2024-09-23 21:03:28 +08:00 committed by Wim Taymans
parent 588f2bcb69
commit 74832445ba
5 changed files with 64 additions and 0 deletions

View file

@ -68,6 +68,9 @@ static struct conv_info conv_table[] =
#if defined (HAVE_SSE2)
MAKE(S16, F32P, 2, conv_s16_to_f32d_2_sse2, SPA_CPU_FLAG_SSE2),
MAKE(S16, F32P, 0, conv_s16_to_f32d_sse2, SPA_CPU_FLAG_SSE2),
#endif
#if defined (HAVE_RVV)
MAKE(S16, F32P, 0, conv_s16_to_f32d_rvv, SPA_CPU_FLAG_RISCV_V),
#endif
MAKE(S16, F32P, 0, conv_s16_to_f32d_c),
MAKE(S16P, F32, 0, conv_s16d_to_f32_c),