Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2025 (4)
20082026
  1. …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
  2. …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…
  3. …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…
  4. 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