code wiki / emu

topic: emu

43 modules sharing the emu name family (derived from the tree's prefix discipline).

The 'emu' topic family in the Nishi sovereign ecosystem provides a suite of interpreters and benchmarking tools for executing various instruction set architectures within the NX-EMU framework. Modules like nx_emu_arm64 and nx_emu_armv7a offer sovereign execution for aarch64 and ARMv7-A, respectively, while nx_emu_loongarch64 supports LoongArch64. Additional modules such as nx_emu_bench and nx_emu_exceed measure performance and compare the emulator's efficiency against existing solutions, ensuring reliable and transparent evaluation of its capabilities.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_emu_arm64.nxsovereign aarch64 (A64) interpreter (NX-EMU).42514
nx_emu_arm64_main.nxCLI for NX-EMU aarch64: load + run a static A64 ELF.231
nx_emu_armv7a.nxsovereign ARMv7-A (32-bit ARM) interpreter (NX-EMU).1347
nx_emu_bench.nxMEASURE the sovereign rv64 emulator's throughput (instructions/sec) so the "behind QEMU on perf"954
nx_emu_cortexm.nxsovereign ARMv7-M / Cortex-M (Thumb-2) interpreter (NX-EMU).1674
nx_emu_exceed.nxR0.5 MEASURED exceed census for the sovereign emulator vs the incumbent (Emscripten855
nx_emu_exceed_gate.nxR0.5 gate: proves the emulator exceed census is MEASURED + HONEST, not self-scored.1427
nx_emu_loongarch64.nxsovereign LoongArch64 (LA64) interpreter (NX-EMU).1436
nx_emu_loongarch64_main.nxCLI for NX-EMU loongarch64: load + run a171
nx_emu_mips64.nxsovereign MIPS64 (n64, big-endian) interpreter (NX-EMU).1267
nx_emu_mips64_main.nxCLI for NX-EMU mips64: load + run a static MIPS64161
nx_emu_ppc64le.nxsovereign PowerPC64 little-endian interpreter (NX-EMU).1485
nx_emu_ppc64le_main.nxCLI for NX-EMU ppc64le: load + run a static171
nx_emu_probe.nx11013
nx_emu_probe_gate.nxNATIVE correctness KAT for nx_emu_probe (R0.0).633
nx_emu_probe_wasm_gate.nxR0.0 WASM half, NISHI all the way up.762
nx_emu_riscv32.nxsovereign RV32IM interpreter (NX-EMU, 32-bit XLEN).1105
nx_emu_rv64.nxsovereign RV64 interpreter (NX-EMU). Decodes +36311
nx_emu_rv64_main.nxCLI for NX-EMU: load + run a static RV64 ELF.231
nx_emu_rv64_test.nxprove the sovereign RV64 interpreter runs real682
nx_emu_s390x.nxsovereign IBM Z (s390x) interpreter (NX-EMU).1385
nx_emu_sparc64.nxsovereign SPARC V9 (sparc64) interpreter (NX-EMU).1956
nx_emu_sparc64_main.nxCLI for NX-EMU sparc64: load + run a static181
nx_emu_testbed.nxTHE EMU TEST-MATRIX organ: which common laptop configs can the Nishi emu24413
nx_emu_testbed_gate.nxTHE REFEREE for the emu testbed.1327
nx_emu_uefi.nxthe sovereign UEFI EXECUTION-PROOF harness (NOS execution gate).133232
nx_emu_x86.nxa minimal sovereign x86-64 interpreter (the THIRD target family,622
nx_emu_x86_boot_kernel_test.nxx86 full-system ladder R8: an x86 KERNEL BOOTS END-TO-END.1019
nx_emu_x86_boot_test.nxthe x86 analog of the rv64 boot: author a tiny x86-64 "boot stub" that485
nx_emu_x86_cf_test.nxx86 full-system ladder R2: CONTROL FLOW. A self-contained x86-64837
nx_emu_x86_dev_test.nxx86 full-system ladder R7: DEVICE MODELS (the 16550 UART serial console).485
nx_emu_x86_farjmp_test.nxx86 full-system ladder R5 rung-5: PROTECTED-MODE ENTRY (GDT + selector476
nx_emu_x86_k.nxx86 full-system ladder R4: the CONSOLIDATED kernel-subset x86-64 interpreter554
nx_emu_x86_k_test.nxx86 ladder R4 KAT: a real FUNCTION CALL through a stack.425
nx_emu_x86_mem_test.nxx86 full-system ladder R3: MEMORY. Extends the R2 control-flow interp809
nx_emu_x86_mode_test.nxx86 full-system ladder R5 rung-1: the MODE-TRANSITION RULE.374
nx_emu_x86_modes_test.nxx86 full-system ladder R5 rung-2: MODE MACHINERY IN EXECUTION.987
nx_emu_x86_paging_test.nxx86 full-system ladder R6: PAGING (long-mode 4-level page walk).696
nx_emu_x86_real16_test.nxx86 ladder R9 rung-3: REALLY BOOT THE REAL IMAGE on the sovereign emu.795
nx_emu_x86_rm16_test.nxx86 full-system ladder R5 rung-3: 16-bit REAL-MODE decode.606
nx_emu_x86_segoff_test.nxx86 full-system ladder R5 rung-4: REAL-MODE SEGMENT:OFFSET ADDRESSING.466
nx_emu_x86_stage2_test.nxx86 ladder R9 rung-4: a REAL MULTI-STAGE LOADER, executed end-to-end.1325
nx_emu_x86_test.nx(#3) prove the sovereign x86-64 interpreter, and use it as967