riscv-non-isa/riscv-c-api-doc
View on GitHub ↗ ★ 89 Makefile
Documentation of the RISC-V C API
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2025-03-30 · latest 2025-11-05
20082026
-
…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/s...
comment by dzaima · 2025-11-05 · in The state of SIMD in Rust in 2025 -
…should also cover other microarchitectural details. There also is a neat toolchain solution with: https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/s... > being unable to port tricky SIMD code to the V extension Anything NEON code…
comment by camel-cdr · 2025-09-09 · in AMD claims Arm ISA doesn't offer efficiency advantage over x86 -
…status - there's a C API spec that could potentially become an option for an OS-agnostic way: https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/s... . libc already will want to call whatever OS thing to determine what extensions…
comment by dzaima · 2025-04-13 · in Rust to C compiler – 95.9% test pass rate, odd platforms -
There is some work on an OS-agnostic feature detection C API: https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/s... . Still quite new though, and potentially might change (as it did a month ago).
comment by dzaima · 2025-03-30 · in Towards fearless SIMD, 7 years later