Lower the operations 0x218 programs use that were refused #101
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/101"
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 DexNom/VIctory. Originally posted by Castyan on 2026-11-26T20:05:12Z.
Stacked on #98 (0x218, itself on #64 and #61). The changes to review are the 7 commits after
60ff2e8.What
Operations the 0x218 programs use that were refused. Each has an execution test against an exact reference, with edge cases.
s_sext_i32_i8/s_sext_i32_i16,v_mad_u32_u16,buffer_atomic_sub,s_absdiff_i32.v_pk_fmac_f16, rounded once (the test fails without round-to-odd:0x3e02instead of0x3e01).v_add_nc_u32/v_sub(rev)_nc_u32with clamp, saturated.COMPUTE_PGM_RSRC2.TG_SIZE_EN): the programs read the wave count and the wave index times 64 (s_and_b32 sN, s6, 0xfc0, thenv_mbcnt). These are reproduced exactly for the waves the host runs. A read that keeps the unknown bits above 11 is refused.ds_appendis still refused.Results
Replay of two sets of 200 captured 0x218 descriptions on the RTX 5060: these commits were measured together with the lane-mask and address branches (88 -> 162 and 23 -> 101 for all three), with no program lost.
Checks (RTX 5060, at
9457437)cargo clippy --workspace --all-targets --locked -- -D warnings, with and without--all-features: clean.cargo test --workspace --locked: 748 passed, 0 failed, 11 ignored.🤖 Generated with Claude Code
Imported from DexNom/VIctory. Originally posted by andrewDoing on 2026-11-26T22:43:39Z.
At the exact PR head tested:
At
9457437, the stock packed FP16 FMA test passed on physical RTX 5070 and WARP with 768 additional finite sign, denormal, cancellation and overflow triples checked against the integer reference. This tests packed FMA only; the other opcodes and title captures were not independently verified.Verification was AI-assisted with GPT-6.2 Astra.
Imported from DexNom/VIctory. Originally posted by Castyan on 2026-11-27T07:40:35Z.
Merged into #64 (
83bfddc), where this work continues. Closing as superseded.Pull request closed