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

Merged
leonida/mandy
Taffyyy-ops merged 1 commit from fix/x86-high-byte-clobber into main 2026-11-24 23:21:41 +00:00

Pull request successfully merged and closed

Taffyyy-ops commented 2026-11-24 17:20:12 +00:00

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

Automated PR from local workspace. Synthetic tests + check_no_game_data.py passed. AI-assisted: yes.
KernelSmoker approved these changes 2026-11-24 17:31:33 +00:00
KernelSmoker left a comment

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.

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

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

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 description provided.