Commit Graph

1 Commits

Author SHA1 Message Date
5885e160e8 tools: sdwa_diff.py, a differential fuzzer for the SDWA VALU forms
A separate reference for 92 _sdwa VOP1/VOP2/VOPC opcodes (integer and f16
families: source selects, sext(), dst_sel with dst_unused PAD/SEXT/PRESERVE,
SGPR and inline-constant sources, clamp, f16 neg/abs) compared with
rdna2spirv + spirv_mini_interp on seeded one-lane programs, in the style of
salu_diff.py. --oracle hw runs the programs on an RDNA1/RDNA2 GPU; every rule
of the reference was checked on gfx1036. Forms where the translator is known
to differ are left out unless --known.

AI-assisted.
2026-11-22 16:59:29 +01:00