mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-29 03:09:28 -04:00
de557cdcb6
ws_cull_edge_interp_test runs the production gpu.c and dirty_ram_interp.c (both #included; LTO plus section GC / dead_strip keeps the stub set small): - the explicit-site store: physical-address masking, sort, de-duplication, lookups at both ends and between entries, empty and negative-count lists, the pre-existing setters sharing the store, the 256-entry cap (a list of exactly 256 is silent and complete; 300 logs "exceed the interpreter cap" and keeps the first 256 in list order), and the clip_edge_width default; - psx_ws_cull_bgez / psx_ws_clip_edge_x through a forced margin; - real interpreted instructions through exec_one_fetched at margin 0 and 53: bgez and bltz sites, bne and blez branch-keep sites, lh/lhu/lw clip-edge loads (edges move, the mirror's 98/222 bounds do not, lh sign-extends), each beside an unlisted twin that must stay vanilla, plus a configured width of 368. Registered in recompiler/CMakeLists.txt next to ws_cull_edge_codegen_test (the BIOS-free tree), with -Wl,-dead_strip on Apple ld and --gc-sections elsewhere; not built with MSVC. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>