[FFmpeg-devel] [PATCH] RISC-V:update ff_get_cpu_flags_riscv for RVV
Rémi Denis-Courmont
remi at remlab.net
Sat Mar 15 06:03:09 EET 2025
Hi,
Le 14 mars 2025 17:32:57 GMT+07:00, daichengrong at iscas.ac.cn a écrit :
>From: daichengrong <daichengrong at iscas.ac.cn>
>
>Availability of RVV and ZVBB should be determined with dl_hwcap.
No. That's completely superfluous since we already check for kernel support with hwprobe().
And we can't check for Zb* and Zv* with hwcap anyhow.
>As those extensions rely on vector registers, kernel vector support
>is required to save the state of context switching.
No. Kernel context switching is already ascertained. And we don't care about libc context support, since vectors are clobbered by function calls, e.g. for long jumps or ucontext.
More information about the ffmpeg-devel
mailing list