# Validation: the oracle ladder and the rungs The family's tiers (charter, axis A): 1 hardware-captured (real-unit measurements, die-level models of the real netlist) > 2 manufacturer documents > 3 hardware-corrected community documents and tests that pass on real hardware > 4 HDL reimplementations > 5 emulators. A low tier is a **detector**: it finds differences, it does not decide them. **Plainly: no tier-1 oracle exists for the Gekko in the family, and no tier-3 test with captured hardware verdicts is in hand either.** The specification rests on the manuals (tier 2) and on what they leave open, listed as unknowns. Every emulator below is tier 5. ## The oracles | Oracle | Tier | Licence / standing | Pin | Can decide | Cannot decide | | --- | --- | --- | --- | --- | --- | | IBM Gekko RISC Microprocessor User's Manual v1.2 (2000-05-25) | 2 | IBM copyright, marked confidential, leaked (bitsavers): facts only | SHA-256 77b90f15 | semantics, encodings, SPR layouts, the Gekko extensions, the cache, DMA and WGP rules, latencies as tabulated | its own typos (C2-C5), anything it calls undefined or unspecified (U-list), cycle-exact pipeline interactions | | IBM PowerPC 750CL User's Manual v1.0 (2007) | 2 | IBM's public manual: facts only | SHA-256 56085281 | a later part with the same extensions: a cross-check of the Gekko manual's paired-single and quantization text, and the Broadway's differences (HID4, extra BATs) | anything the Gekko differs in (which the Gekko manual decides) | | PowerPC 740/750 User's Manual (Motorola/IBM, 1998) | 2 | public: facts only | SHA-256 fd74a0cb | the base 750's implementation choices | the Gekko's changes | | Programming Environments Manual, 32-bit (Motorola MPCFPE32B rev 2, 2001) | 2 | public: facts only | SHA-256 ae696601 | the architecture: every UISA/VEA/OEA definition | implementation choices | | dolphin-emu/hwtests ("Hardware test suite", GPL-2.0) | 3 if its expected values were taken on hardware (its authors' practice; not checked here: its source is not opened) | **closed box only**: never fetched into this repository; to be built in emu-tools-gpl with a PowerPC toolchain, run on the board, its pass/fail read | not pinned yet | once running on gamecube-python: pass/fail of its CPU and paired-single cases as its authors recorded them | anything it does not test; its verdicts are only as good as its authors' hardware runs, which we cannot see | | Dolphin (GPL-2.0-or-later) | 5 | closed box only: a binary run in emu-tools-gpl, never its source | not installed | differences in register results for our own test programs, run side by side (a detector) | hardware truth: its paired-single rounding, its timing and its cache shortcuts are emulator choices | | pureikyubu (formerly Dolwin, CC0-1.0) | 5 | readable (CC0); only its wiki is fetched | 69572aa | its documented design choices (idle-loop detection, a profiler's unit table) | hardware truth; its own docs say its Gekko interpreter and recompilers are its own work | | MAME 0.285 `ppc603` core (via the `triforce` driver) | 5 | closed box only (GPL-2.0+/BSD mix) | MAME 0.285 binary | integer UISA results for our own programs (scripts/mame_trace.py: 11/11 results agree with the PEM, tests/detectors/mame-ppc603-integer-2026-11-26.txt) | anything Gekko-specific (MAME has no paired singles, GQRs, locked cache or WGP), the 750's choices (it is a 603), timing | | powerpc-rs `isa.yaml` (MIT OR Apache-2.0) | 5 | code OK with notice | 4643ee0 | a cross-check of the generated decode table (rung 0) | semantics; its README disclaims correctness | **Excluded, recorded so nobody spends time on them** (proposed rows in gamecube-python's `docs/sources-gamecube.md`): - **ogamespec/gekko_cosim** (CC0-1.0 on its own scripts): "a Python script for running the Gekko model `COSIM.m2630opt.Jul1599`" with research recovering a netlist from it. Such a model would be the strongest possible oracle (an IBM simulation model of the real design: die-level, tier 1). The model file itself is not in the repository (git-ignored there); its origin is not stated in the README we read, and an IBM model of a 1999 Nintendo part is HYPOTHESIS-likely to be leaked confidential design data. **Not fetched, not read beyond its README; whether the family may use it, or anything derived from it, is Aubrey's decision** (open decision 8). Its author is also the author of emu-russia/dmgcpu, which the family sets aside for its furrtek lineage; gekko_cosim is not in that lineage (it is built on the IBM model, not on furrtek's work), so the question here is provenance, not author respect. - **Decompilation projects** of GameCube games (doldecomp/melee, zeldaret/tww and others): reconstructions of Nintendo's code, including its SDK. Excluded: game and SDK code. - **libogc** (devkitPro) and the devkitPro site: devkitpro.org's robots.txt blocks ClaudeBot and GPTBot and carries an `ai-train=no` content signal: **set aside (site's wishes)** for the site. The library's own repository (on GitHub) is a separate question reported to Aubrey, not decided here (open decision 9). ## The rungs Each rung exits on the named checks; a rung's report names what ran, with counts. | Rung | Scope | Exit test | | --- | --- | --- | | 0 | decode | every 32-bit word decodes to the row the generated table names; rows cite PEM/UM pages; powerpc-rs's patterns agree on every Gekko row; illegal words and disabled extensions decode to program exceptions | | 1 | integer UISA | a generated case set (our own assembler in tests/: every integer instruction over edge operands), each case's expected value derived from the PEM's pseudo-code by a separate small reference function; MAME's ppc603 as a detector over the same cases (differences reported, not judged) | | 2 | OEA | MSR, SPRs (full SPR decode), exceptions and their SRR0/SRR1, BATs, segments, the page-table walk, the TLBs with `tlbie`, reset state from UM table 4-8 | | 3 | FPU, paired singles, quantization | the PEM's floating-point model for the classic FPU; every paired and quantized instruction against its UM pseudo-code; the GQR conversion tables 2-44/2-45 (with C2 recorded); the save/restore pair of UM 2.2.1 round-trips; the representation decision (U6) stated and tested | | 4 | caches, locked cache, DMA, WGP | L1/L2 tag and state tests (flush, invalidate, cast-out visible to a bus observer); `dcbz_l` and every DMA error bit; the WGP's 32-byte bursts, discard on `mtspr WPAR`, BNE | | 5 | timing model | the table's rows against UM chapter 6's worked examples; dispatch and completion limits; determinism (identical timing in every run); the constant-CPI comparison switch | | 6 | on the board | the core inside gamecube-python's M1: homebrew test programs of our own; then dolphin-emu/hwtests' CPU cases through the closed-box harness, if Aubrey accepts that route | Every gate also proves it can fail (methodology): seeded one-line faults, each caught. ## What would raise the ladder - A GameCube (or Wii in GameCube mode) running our own test programs, with results captured over the serial port or a USB Gecko: tier 1 for every unknown in the brief. The family has no such hardware (emulation only), so these are listed, not planned. - The IBM model, if Aubrey decides it may be used (above).