This repository has been archived on 2026-09-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
xenia-rs/crates
MechaCat02 19700736b8 [iterate-4E] Stage 1'a: enable host-atomic ReservationTable in native mode
native_active is now folded into parallel_active, so XENIA_NATIVE_THREADS=1
(a) enables kernel.reservations (lwarx/stwcx route through the inter-thread
ReservationTable) and (b) sets kernel.parallel_active for the wall-clock
vsync/coordination paths.

Closes the PPCBUG-108 landmine flagged in the rework pressure-test: native
mode runs guest code on multiple host threads concurrently, so the legacy
per-PpcContext reservation fallback (which cannot observe cross-thread
stores) is incorrect. Previously pure-native (no --parallel) left the table
disabled — silently wrong in release, debug_assert in debug.

Gate GREEN 3/3 (golden byte-identical, native renders, stress no-deadlock).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 20:21:49 +02:00
..