gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE) #1049
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1049"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by Taffyyy-ops on 2026-11-24T17:20:12Z.
Automated PR from local workspace. Synthetic tests + check_no_game_data.py passed. AI-assisted: yes.
Imported from ubiquitarianism/leonida. Originally posted by KernelSmoker on 2026-11-24T17:31:33Z.
Review: APPROVED
Verified on exact head
2389f55b27. Focused Linux suites pass: high-byte writes 4/4, GDK decoder 23/23, import call sites 21/21, import fail-fast 8/8. Changed-file no-game-data and diff checks pass. The test proves legacy B4–B7 writes invalidate AH/CH/DH/BH parent registers, while REX-prefixed forms write SPL/BPL/SIL/DIL (and REX.B extensions) instead. The merge-tree with #1041’s independent 15-byte decode-window fix is clean; I did not run a combined merged checkout. Synthetic CPU-only tests; no game data/GPU.Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T23:21:39Z.
Merging.
Why merged: X86-HIGH8-IMMEDIATE: in gdk_runtime_calls, a mov of an immediate into AH/CH/DH/BH (B4-B7 with no REX) now marks the parent register as written, as x86 does. KernelSmoker approved it.
Why it's good: The high-byte, gdk_runtime_calls, import_call_sites and import_fail_fast tests: 58 passed.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main
0f98d193c. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests, ctest_registration) gives 578 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.AI-assisted (Claude Code, Claude Opus 5.5).