test: distinguish both compute MAD24 source truncations #862
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!862
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/862/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?
@R0Y00 on GitHub · 2026-11-23 14:32 UTC · original
R0Y00:codex/check-compute-mad24-truncation→main· +55 −1 · 2 files · 1 commits · merged 2026-11-23 14:47 UTCRefs #721.
Keep the original LLVM-generated read–compute–write case and add a synthetic MAD24 case with bit 24 set in the first factor and bit 25 in the second. Enable lane 0 and set the clamp to UINT_MAX. The full 320-word oracle checks the product modulo 2^32 and every inactive sentinel. Both single-source truncation mutations are compiled and run. The correct word 0 is 0x0df050e1; removing the left or right truncation gives 0xfef050e1 or 0xeff050e1, respectively. The other #721 ALU work remains open.
Local Windows 11 build 26200.9974, debug layer enabled:
WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 matched the full readbacks and rejected both mutants. Both existing guard/read groups ran in 5.44 s on WARP and 21.63 s on RTX (including the new fixture). The LLVM 15 binary round trip and python -B tests/docs_links_check.py also passed.