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

Merged
Taffyyy-ops merged 1 commit from upstream-pr/1049 into main 2026-11-24 23:21:41 +00:00
Taffyyy-ops commented 2026-11-24 17:20:12 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5476983061 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1049). Originally posted by [Taffyyy-ops](https://github.com/Taffyyy-ops) on 2026-11-24T17:20:12Z. --- Automated PR from local workspace. Synthetic tests + check_no_game_data.py passed. AI-assisted: yes.
KernelSmoker commented 2026-11-24 17:31:33 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6044232232 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1049#pullrequestreview-6044232232). Originally posted by [KernelSmoker](https://github.com/KernelSmoker) on 2026-11-24T17:31:33Z. **Review:** APPROVED --- 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.
QemmHD commented 2026-11-24 23:21:39 +00:00 (Migrated from github.com)

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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7147311451 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1049#issuecomment-7147311451). Originally posted by [QemmHD](https://github.com/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).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1049
No description provided.