[PATCH v1 1/1] riscv: Add RVV memset via multiarch/IFUNC

Florian Weimer fw@deneb.enyo.de
Thu Oct 30 11:23:39 GMT 2025


* Peter Bergner:

> I know we discussed this on the GCC patch review call, but might we want
> to control these ifuncs via GLIBC tunables like other architectures do [1]?

> [1] https://sourceware.org/glibc/manual/latest/html_node/Hardware-Capability-Tunables.html

> If this is something we want to do eventually (we don't now), then I think
> we'll need to use the hwcaps.  If not, then yeah, hwprobe seems the way to go.

The kernel could offer a mechanism to influence hwprobe, then it would
work independently of the C library, and also more naturally across
container boundaries.


More information about the Libc-alpha mailing list