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

@ -160,6 +160,11 @@ static void test_s16_f32(void)
run_test("test_s16_f32d", "avx2", true, false, conv_s16_to_f32d_avx2);
run_testc("test_s16_f32d_2", "avx2", true, false, conv_s16_to_f32d_2_avx2, 2);
}
#endif
#if defined (HAVE_RVV)
if (cpu_flags & SPA_CPU_FLAG_RISCV_V) {
run_test("test_s16_f32d", "rvv", true, false, conv_s16_to_f32d_rvv);
}
#endif
run_test("test_s16d_f32d", "c", false, false, conv_s16d_to_f32d_c);
}