upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorcrastinator <qvaras@proton.me>2026-11-22 01:13:21 +0200
committercrastinator <qvaras@proton.me>2026-11-22 01:13:21 +0200
commit4fe8cdf38d799909f0c67af3d1ddfb8a02b5eec7 (patch)
treefcb0c09afff892f20afeb7f32c118faa85d9cf07 /runtime/src/pe_loader.cpp
parent8bd0087d2d0e45fc18fa78fb40b70ecfc6648854 (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