gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE) #1049
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1049
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1049/head"
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?
@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 UTCAutomated PR from local workspace. Synthetic tests + check_no_game_data.py passed. AI-assisted: yes.
@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.@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).