| Area | Files |
|---|---|
| Finding functions | src/common/cpu/recompiler/codegen.c, src/nx/loader/loader.c, src/nx/loader/codegen_view.c |
| The native back ends: what every machine shares, and each machine's | src/common/cpu/recompiler/mach/ (mach_codegen.inc, mach_arm.inc, native.c), x64/, arm64/, rv64/, ppc64/, mips64/, la64/, s390x/ |
| The instruction emitters, generated from the Arm architecture's Sail | tools/sailgen and each machine's back end files in it (sailgen), from src/common/cpu/aarch64/sail/ |
| Units, the units held in memory, the module descriptor | src/nx/loader/module_a64.c, module_x64.c, src/common/cpu/recompiler/x64/x64_cache.c, src/nx/loader/module_abi.h |
| Linkers and the code loader | link_elf.c, link_coff.c, link_macho.c, code_loader.c, elf_object.c |
| The runtime JIT and its cache | jit_service.c, jit_cache.c, src/nx/runtime/guest_jit.c, src/nx/runtime/rtapi.c |
| The contract with generated code | src/common/cpu/aarch64/cpu.h (SNX_ABI, CPU, snx_lookup), cpu_helpers.c, helpers/, rtlib/rtlib.c |
| The decoder | src/common/cpu/aarch64/decode/ (a64.decode, a64.profile), generated by tools/decodetree |
| SVCs | src/nx/hle/svc/hos.svc, tools/svcgen |
| Guest memory | src/nx/memory/mem.c, src/nx/memory/own.c |
| Guest threads | src/nx/hle/kernel/thread.c |
| The GNU ABI runtime | src/gnuabi/ |
| Translator tests | tests/native_qemu_differential.c, tests/native_qemu_expected.txt, tests/native_steps.c, tests/a64_ported.c, tests/native_module.c, tests/native_bench.c, tests/module_contract.c, tests/recompiler_backends.c, tests/qemu_ref/ |
Made from docs/layers/cpu/guide.md at 69237645142c. GPL-3.0-or-later.