The readers of the code for this plan found these. Each needs a check against the code, then a fix (T6).
docs/dev/architecture.md says guest accesses are volatile, and the header comment of ir_ldst.c says the same. The
volatile_memory setting defaults to 0, so they are volatile only when it is on.docs/dev/architecture.md names ir_fp_fast, which does not exist. The fast paths are sg_fp_fast_binary, sg_fp_fast_sqrt and
sg_fp_fast_fma in tools/sailgen/llvm.h.docs/history/divergences.md lists FP failures from an older audit. The code now uses guarded fast paths and soft-float
helpers, and tests/native_qemu_expected.txt lists no FP group.docs/dev/roadmap.md lists ARM NaN propagation, default NaN and directed rounding as CPU work. The helpers in
src/common/cpu/aarch64/helpers/fp.c implement them, so the item may be done.docs/hosts/riscv-loongarch.md says the JIT loader handles only x86-64 and AArch64, "as on PowerPC64", while
code_loader.c and docs/hosts/ppc64.md describe a PowerPC64 JIT.rtlib.c says the library is compiled once with -march=native, with the flags of generated
C. ir.c loads its bitcode, removes the CPU attributes and compiles it for the target CPU.docs/user/aot-packs.md says the JIT compiles the missed function. It compiles batches of up to 256 pcs
(jit_service.h).docs/platforms/nx/nro.md says there is no dynamic NRO registration and mentions generated C. ldr.c maps NROs at run time
through the JIT, and LLVM is the only backend.docs/platforms/nx/nro.md gives the cost of a call into an NRO without the variant_resolve step (guest_jit.c).jit_cache.h says the runtime never reads the JIT cache, while docs/dev/architecture.md and guest_jit.c describe a
later run loading its units.ir_profile.c says it discards duplicate identities, but its loop keeps the first entry of each group after an
unstable sort.Made from docs/layers/cpu/plan.md at 69237645142c. GPL-3.0-or-later.