loader: validate ModRM for ClzeroLoop cmp rax, <reg> #497
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/497"
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 TaynanGT/Vice-Tay. Originally posted by ahmetbagci8 on 2026-12-01T17:46:18Z.
Summary
m == 0\ for
ax) when matching the \clzero; add rax, 0x40; cmp rax, ; jb -12\ loop pattern.
Verification
ax\ and memory \cmp\ encodings).
Imported from TaynanGT/Vice-Tay. Originally posted by Aniseto on 2026-12-01T17:59:42Z.
Ran the named loader regression test at
b6efd54aon an NVIDIA Blackwell desktop part with 16 GB of VRAM.Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB, mesh shaders) driver 32.0.16.2140 (621.40), Intel Core i5-12400F, 64 GB RAM, rustc 1.98.1 (48a229cea 2026-09-01), MSVC 14.44.35207, debug build, detached worktree at the exact PR head, own
CARGO_TARGET_DIR, no local patches.The test passes here, including the new assertions for non-
raxand memorycmpencodings. This is a decoder regression test: no title was run, and no console-only instruction was executed on the GPU.Not tested: the full workspace suite, a retail title, Wine, AMD adapters, release profile, game data.
AI-assisted (OpenCode), model: MiMo-V2.6-Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the test, wrote this report; the worktree was not modified; no game data was used.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.