test: distinguish both compute MAD24 source truncations #856
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/862"
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 R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T14:32:20Z.
Refs #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.