mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
The RDNA program decode sweeps linearly up to the last s_endpgm past the furthest direct branch target, so it also decoded words that no path reaches and threw on any it could not decode. A word directly after s_branch, s_endpgm or s_code_end that fails to decode is now skipped; the decode still throws that word's error when a direct branch or s_call_b64 targets it, and a failure on a word reachable by fall-through is unchanged. The control-flow graph starts the block after s_branch and s_endpgm at the next decoded instruction instead of the next word. Co-Authored-By: Claude Opus 5.5 <[email protected]>