mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
fmt-ops: add RVV optimizations for f32d_to_s32
This commit is contained in:
parent
c7c5b61dac
commit
79d41e183e
5 changed files with 65 additions and 0 deletions
|
|
@ -182,6 +182,11 @@ static void test_f32_s32(void)
|
|||
if (cpu_flags & SPA_CPU_FLAG_AVX2) {
|
||||
run_test("test_f32d_s32", "avx2", false, true, conv_f32d_to_s32_avx2);
|
||||
}
|
||||
#endif
|
||||
#if defined (HAVE_RVV)
|
||||
if (cpu_flags & SPA_CPU_FLAG_RISCV_V) {
|
||||
run_test("test_f32d_s32", "rvv", false, true, conv_f32d_to_s32_rvv);
|
||||
}
|
||||
#endif
|
||||
run_test("test_f32_s32d", "c", true, false, conv_f32_to_s32d_c);
|
||||
run_test("test_f32d_s32d", "c", false, false, conv_f32d_to_s32d_c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue