Commit Graph

6 Commits

Author SHA1 Message Date
08a7b86bbc Merge pull request #3894 from Wasler
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:09:18 -05:00
ce7242107b rdna2spirv: read v_cmp(x)_class_f16 mask as f16 constant via src_h 2026-11-23 00:20:04 +02:00
a718fe81ea Merge pull request #3331 from Vonsek 2026-11-22 17:01:27 -05:00
af75246509 sdwa_diff: generate the two SDWA forms main now translates in every run
KNOWN_DIVERGENCES kept two forms out of every default run: 16-bit results
with dst_sel:DWORD and f16 float inline constants with a src_sel. #2187 and
#2209 fixed both on main, so leaving them out only hides a regression of
those fixes. Only #2005's constant-shift form stays known.
2026-11-22 21:09:02 +01:00
464dce5059 rdna2spirv: support clamp and omod on v_cvt_f16_{u16,i16} 2026-11-22 22:01:01 +03:00
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