gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE) #1049

Manually merged
github merged 1 commit from gh-pr/1049/head into gh-pr/1049/base 2026-11-26 09:35:16 +00:00
Owner

@⁠Taffyyy-ops on GitHub · 2026-11-24 17:20 UTC · original
Taffyyy-ops:fix/x86-high-byte-clobber → main · +51 −0 · 2 files · 1 commits · merged 2026-11-24 23:21 UTC

Automated PR from local workspace. Synthetic tests + check_no_game_data.py passed. AI-assisted: yes.

**@⁠Taffyyy-ops** on GitHub · 2026-11-24 17:20 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1049) `Taffyyy-ops:fix/x86-high-byte-clobber` → `main` · +51 −0 · 2 files · 1 commits · merged 2026-11-24 23:21 UTC Automated PR from local workspace. Synthetic tests + check_no_game_data.py passed. AI-assisted: yes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:35:15 +00:00
github manually merged commit 2389f55b27 into gh-pr/1049/base 2026-11-26 09:35:16 +00:00
Author
Owner

@⁠KernelSmoker on GitHub · 2026-11-24 17:31 UTC · original · approved these changes

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.

**@⁠KernelSmoker** on GitHub · 2026-11-24 17:31 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1049#pullrequestreview-6044232232) · **approved these changes** Verified on exact head 2389f55b27588e8e8ca814a77c25147db2ae67d8. 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.
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 23:21 UTC · original

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).

**@⁠QemmHD** on GitHub · 2026-11-24 23:21 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1049#issuecomment-7147311451) 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).
This discussion has been locked. Commenting is limited to contributors.
No description provided.