diff options
| author | crastinator <qvaras@proton.me> | 2026-11-22 01:13:21 +0200 |
|---|---|---|
| committer | crastinator <qvaras@proton.me> | 2026-11-22 01:13:21 +0200 |
| commit | 4fe8cdf38d799909f0c67af3d1ddfb8a02b5eec7 (patch) | |
| tree | fcb0c09afff892f20afeb7f32c118faa85d9cf07 /runtime/src/pe_loader.cpp | |
| parent | 8bd0087d2d0e45fc18fa78fb40b70ecfc6648854 (diff) | |
Tools: LDS / ds_* differential fuzzer on the GPU (FUZZ-6)
tools/lds_fuzz.py generates seeded 64-thread compute programs (wave64 or wave32, 4 KiB LDS) over the ds_*
instructions the translator accepts: every read width (also u16 d16/d16_hi), byte/short writes (also d16_hi),
read2/write2 (+st64), the add/sub/min/max/and/or/xor atomics with and without return, wrxchg, cmpst, ds_swizzle
and ds_bpermute, under random EXEC masks. It translates them, runs them with vk_compute_test and compares every
thread's 16 result VGPRs and the whole LDS bit for bit with a model written from the ISA, naming the op that last
wrote a wrong register. vk_compute_test gets VKC_OUT_WORDS / VKC_DUMP to read the whole buffer back.
On an RX 6700 XT the only mismatch is the wave32 ds_bpermute inactive-source case #253 fixes. docs/design.md no
longer claims the 8-bit d16 reads, which the translator rejects.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions