mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
fmt-ops: add R-V V optimizations for f32_s16
This commit is contained in:
parent
8166b9c580
commit
d932e52d5b
6 changed files with 71 additions and 0 deletions
|
|
@ -132,6 +132,11 @@ static void test_f32_s16(void)
|
|||
run_testc("test_f32d_s16_2", "avx2", false, true, conv_f32d_to_s16_2_avx2, 2);
|
||||
run_testc("test_f32d_s16_4", "avx2", false, true, conv_f32d_to_s16_4_avx2, 4);
|
||||
}
|
||||
#endif
|
||||
#if defined (HAVE_RVV)
|
||||
if (cpu_flags & SPA_CPU_FLAG_RISCV_V) {
|
||||
run_test("test_f32_s16", "rvv", false, true, conv_f32_to_s16_rvv);
|
||||
}
|
||||
#endif
|
||||
run_test("test_f32_s16d", "c", true, false, conv_f32_to_s16d_c);
|
||||
run_test("test_f32d_s16d", "c", false, false, conv_f32d_to_s16d_c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue