diff options
| author | jaybeebabageyus <jaybeebabageyus@users.noreply.github.com> | 2026-11-22 19:08:55 +0100 |
|---|---|---|
| committer | jaybeebabageyus <jaybeebabageyus@users.noreply.github.com> | 2026-11-22 19:08:55 +0100 |
| commit | e64bebf1c39990387f210f2607883c7d1eab46f0 (patch) | |
| tree | 912668f658221a559d4818c5591780492259eb1e /runtime/shims/library_loader.cpp | |
| parent | 49475796c226c8511b9470bf97a4daf57b8af323 (diff) | |
tools: sad_diff.py, a differential fuzzer for the SAD family
Seven opcodes (v_sad_u8, v_sad_hi_u8, v_sad_u16, v_sad_u32, v_msad_u8,
v_qsad_pk_u16_u8, v_mqsad_pk_u16_u8) against an ISA-written reference and
the translated SPIR-V in spirv_mini_interp, four exported words, bit for
bit. A 785-program sweep covers every source-kind combination (the 64-bit
constant rule pinned both ways), random seeded programs widen the values.
12,810 programs across six seeds match with zero mismatches and zero
skips; two translator mutations make 36/60 and 17/60 programs fail.
clamp, op_sel/neg/abs, v_mqsad_u32_u8 (#1926/#2163) and null as a 64-bit
quad source (#2650) are out of scope, on purpose.
Diffstat (limited to 'runtime/shims/library_loader.cpp')
0 files changed, 0 insertions, 0 deletions