[PATCH v1 1/1] riscv: Add RVV memset via multiarch/IFUNC
Yao Zihong
zihong.plct@isrc.iscas.ac.cn
Fri Oct 31 16:25:47 GMT 2025
My understanding is that the kernel may eventually make riscv_hwprobe
reflect whether an extension is enabled, not just present, but that is
not the case today.
I’m unsure whether it is glibc’s responsibility to cover this gap in the
meantime.
If it is, then perhaps we should gate the RVV path on both riscv_hwprobe
(to ensure V = 1.0 capability) and dl_hwcap.V (to respect per-process enablement
via prctl/sysctl).
Do you think this should be handled in glibc or left for the kernel side?
Thanks,
Zihong
More information about the Libc-alpha
mailing list