Files
ARMSX2/pcsx2-eerunner
Brian Degenhardt 06445dd641 eerunner: narrow --rec-fallback to a single VU macro op
Once a hunt reaches `cop2vu` it stops: that group is one dispatch bit
covering the whole VU macro-mode instruction set, and there was no next
axis. Finding which of them miscompiles meant hand-editing the classifier
and rebuilding per hypothesis.

Two additions close that gap. `--rec-fallback cop2vu:<mnemonic>` selects
individual macro ops by name, over a flat 256-entry id space covering all
three dispatch tables (BC2 by rt, SPECIAL1 by funct, SPECIAL2 by its
packed index). And a compile-time census, printed after --mkstate, lists
the macro ops the run actually emitted — an op that never compiles cannot
be the bug, so it turns a 100-way search into a bisect over the handful a
given game really uses.

On NASCAR Thunder 2002 the census reported 58 distinct ops and the bisect
reached one of them in eleven runs, no rebuilds.
2026-07-28 21:01:12 -07:00
..