Where the translator lives

AreaFiles
Finding functionssrc/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'ssrc/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 Sailtools/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 descriptorsrc/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 loaderlink_elf.c, link_coff.c, link_macho.c, code_loader.c, elf_object.c
The runtime JIT and its cachejit_service.c, jit_cache.c, src/nx/runtime/guest_jit.c, src/nx/runtime/rtapi.c
The contract with generated codesrc/common/cpu/aarch64/cpu.h (SNX_ABI, CPU, snx_lookup), cpu_helpers.c, helpers/, rtlib/rtlib.c
The decodersrc/common/cpu/aarch64/decode/ (a64.decode, a64.profile), generated by tools/decodetree
SVCssrc/nx/hle/svc/hos.svc, tools/svcgen
Guest memorysrc/nx/memory/mem.c, src/nx/memory/own.c
Guest threadssrc/nx/hle/kernel/thread.c
The GNU ABI runtimesrc/gnuabi/
Translator teststests/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.