Files
ThiagoandClaude Opus 5.5 4af09477ce replace lifted PPU code with native stand-ins
work/tools/ppu_native_entries.py, run by scripts/lift.sh after the lift,
puts a hook at the entry of listed functions, or a native block at a label
inside one, guarded against relift drift; work/port/ppu_native.cpp holds the
stand-ins, PS3RECOMP_NATIVE_PPU=0/1/2 (2 runs both and compares). First two:
the main thread's byte scan (a memchr, 5x) and the game's memcpy (refused
on overlap, where it is not a memmove). In-game compare: 1.69M copies with
no difference. The main thread's work drops ~3.8 points, all of it now
spent waiting on the SPU job lists: frame rate unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-18 23:29:51 -03:00
..