mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -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
|
|
@ -343,6 +343,12 @@ static void test_f32_s32(void)
|
|||
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", in, sizeof(in[0]), out, sizeof(out[0]), SPA_N_ELEMENTS(out),
|
||||
false, true, conv_f32d_to_s32_rvv);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void test_s32_f32(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue