3 ms·
> Fortunately, this problem only exists on x86. Also RISC-V, where you can't even probe for extension support in user space unfortunately.
by IshKebab 1y ago
> Fortunately, this problem only exists on x86.
Also RISC-V, where you can't even probe for extension support in user space unfortunately.
- raphlinus 1y agoIt's not strictly x86 either, the other case you care about is fp16 support on ARM. But it is included in the M1 target, so really only on other ARM.
- dzaima 1y agoLinux of course does have an interface for RISC-V extension probing via hwprobe. And there's a C interface[1] for probing that's OS-agnostic (though it's rather new). [1]: https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/src/c-api.adoc#function-multi-version https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/s...