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

@ -385,6 +385,12 @@ static void test_s32_f32(void)
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", in, sizeof(in[0]), out, sizeof(out[0]), SPA_N_ELEMENTS(out),
true, false, conv_s32_to_f32d_rvv);
}
#endif
}
static void test_f32_u24(void)