riscv_fp_test.nx
buildroot/runtime/riscv_fp_test.nx
about
riscv_fp_test.nx -- self-test for rv_emit_fbinop (F-extension).
Sanity-check emit_fbinop_mnem and rv_emit_fbinop by hand-building
a minimal FADD instruction and checking the emitted asm contains
the expected fadd.s mnemonic and register operands. Does NOT
attempt to link or execute the fp code path -- the allocator
doesn't yet assign f-register homes, so full end-to-end verification
waits on the f-reg regalloc commit.
dependencies 6 imports · 0 importers
imports: syscalls.nxtypes.nxir.nxoutbuf.nxregalloc.nxriscv.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 18 | func buf_contains(buf: *u8, n: i64, needle: *u8) -> i64 {
called by 1: main |
| 36 | func main() -> i64 { |