fmt-ops: add RVV optimizations for s32_to_f32d

This commit is contained in:
sunyuechi 2024-09-29 11:17:18 +08:00 committed by hleft
parent 0e5d8fdc3b
commit 245adda985
5 changed files with 64 additions and 0 deletions

View file

@ -205,6 +205,11 @@ static void test_s32_f32(void)
if (cpu_flags & SPA_CPU_FLAG_AVX2) {
run_test("test_s32_f32d", "avx2", true, false, conv_s32_to_f32d_avx2);
}
#endif
#if defined (HAVE_RVV)
if (cpu_flags & SPA_CPU_FLAG_RISCV_V) {
run_test("test_s32_f32d", "rvv", true, false, conv_s32_to_f32d_rvv);
}
#endif
run_test("test_s32_f32d", "c", true, false, conv_s32_to_f32d_c);
run_test("test_s32d_f32d", "c", false, false, conv_s32d_to_f32d_c);