mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05: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
|
|
@ -228,6 +228,12 @@ static void test_f32_s16(void)
|
|||
false, true, conv_f32d_to_s16_neon);
|
||||
}
|
||||
#endif
|
||||
#if defined(HAVE_RVV)
|
||||
if (cpu_flags & SPA_CPU_FLAG_RISCV_V) {
|
||||
run_test("test_f32_s16_rvv", in, sizeof(in[0]), out, sizeof(out[0]), SPA_N_ELEMENTS(out),
|
||||
true, true, conv_f32_to_s16_rvv);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static void test_s16_f32(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue