Valiantsin Dzerakh and Claude Opus 5.5
c2943970cc
Merge the spin wait gates: they also end the fight hangs
...
The generator emits a guest poll such as `ldr w9, [x19]; cmp w9, #1 ; b.eq` as a plain C load, and clang hoists it out
of the loop: the lock wait in f_7001fa0e2c compiled to `cmp; jne; jmp .`, so a thread that found the lock held spun
forever after its holder released it. A fight run hung this way in 3 of 13 launches on an RX 9070, with the UBO
snapshot on and off; gdb showed the thread on that `jmp` in every sample. The gate is an opaque call on every
back-edge of the 868 loops tools/spin_waits.py lists, so each pass reloads memory: the exe goes from 182 self-jumps to
148, and 144 of those are the game's own `b .` instructions. 8 of 8 fight runs then passed; tests/diff/func.py with
--patches passed 5470 cases on 878 functions, and the four probes passed on 1.4.3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-28 20:05:44 +03:00
..
2026-10-27 16:22:11 +03:00
2026-10-27 13:40:34 +03:00
2026-10-23 23:54:57 +03:00
2026-10-27 15:24:14 +03:00
2026-10-25 18:28:00 +03:00
2026-10-25 18:28:00 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-28 18:27:11 +03:00
2026-10-26 09:32:30 +03:00
2026-10-28 20:05:44 +03:00
2026-10-26 20:55:08 +03:00
2026-10-28 20:05:44 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 09:32:30 +03:00
2026-10-23 22:27:54 +03:00
2026-10-28 18:27:11 +03:00
2026-10-27 11:01:54 +03:00
2026-10-27 11:01:54 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-25 08:39:47 +03:00
2026-10-24 10:41:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 09:49:15 +03:00
2026-10-27 15:21:41 +03:00
2026-10-27 13:12:50 +03:00
2026-10-28 18:27:11 +03:00
2026-10-28 12:25:25 +03:00
2026-10-26 09:51:56 +03:00
2026-10-24 08:50:48 +03:00
2026-10-28 14:49:41 +03:00
2026-10-26 09:49:15 +03:00
2026-10-27 13:12:50 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 09:32:30 +03:00
2026-10-28 20:05:44 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 17:50:40 +03:00
2026-10-28 16:51:36 +03:00
2026-10-27 13:40:34 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 10:17:14 +03:00
2026-10-27 16:42:14 +03:00
2026-10-26 20:39:13 +03:00
2026-10-27 13:12:50 +03:00
2026-10-25 00:45:56 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-28 16:51:36 +03:00
2026-10-26 09:32:30 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-27 13:12:50 +03:00
2026-10-27 16:42:14 +03:00
2026-10-28 18:27:12 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-27 15:21:41 +03:00
2026-10-27 15:21:41 +03:00
2026-10-28 16:51:36 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 15:21:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:40:34 +03:00
2026-10-28 12:25:25 +03:00
2026-10-28 12:25:25 +03:00
2026-10-27 11:01:54 +03:00
2026-10-26 17:50:40 +03:00
2026-10-26 20:55:08 +03:00
2026-10-26 20:55:08 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-27 13:12:50 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 16:48:02 +03:00
2026-10-24 19:35:33 +03:00
2026-10-26 16:48:02 +03:00
2026-10-27 15:21:41 +03:00
2026-10-27 15:21:41 +03:00
2026-10-28 16:41:46 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:12:50 +03:00
2026-10-27 16:05:24 +03:00
2026-10-26 16:26:11 +03:00
2026-10-28 16:41:46 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:12:50 +03:00
2026-10-27 15:53:59 +03:00
2026-10-27 15:54:00 +03:00
2026-10-27 13:12:50 +03:00
2026-10-28 16:41:46 +03:00
2026-10-27 16:05:24 +03:00
2026-10-28 15:06:40 +03:00
2026-10-28 16:41:46 +03:00
2026-10-28 16:41:46 +03:00
2026-10-28 16:41:46 +03:00
2026-10-28 16:41:46 +03:00
2026-10-28 15:14:11 +03:00
2026-10-23 22:27:54 +03:00
2026-10-28 16:41:46 +03:00