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:
authortunczzzz <r.ampage.warrior017@gmail.com>2026-11-21 23:57:57 +0000
committertunczzzz <r.ampage.warrior017@gmail.com>2026-11-22 00:02:16 +0000
commit71a16c11cf1538aaf4b2ca59fee59aec454da702 (patch)
treeecba90a2d2bd0eee2000820cc32456a229d48a0b /runtime/src/pe_loader.cpp
parent4abd54571b6efa02d97eda4711792fa00b455dc3 (diff)
FUZZ-8: control-flow/EXEC differential fuzzer; wave32 SCC of mask ops is wave-wide
tools/cf_diff.py generates seeded wave32/wave64 pixel shaders from the control-flow shapes compilers emit (saveexec if/else, v_cmpx, VCC- and SCC-voted branches, uniform and per-lane loops, two-entry cycles) and compares every lane's export between: * tools/cf_ref.py: cpu_ref's Machine plus branches, compares, v_cmpx, saveexec and 64-bit masks (the ISA model, one wave) * rdna2spirv + tests/semantic/spirv_wave_interp.py: every invocation of one subgroup in lockstep, split at selections and rejoined at merges, with the subgroup operations the translator emits in both the structured and the dispatch-loop form; --spirv-val also validates each module, --minimize reduces a mismatch. Finding (fixed here): in a wave32 program s_and/or/xor/andn2/orn2/nand/ nor/xnor_b32 on lane masks set SCC from the lane's own bit instead of the whole mask, so `s_and_b32 s0, vcc_lo, exec_lo; s_cbranch_scc0` and loops closed by `s_andn2_b32 exec_lo, ...; s_cbranch_scc1` split the wave. SCC is now the same subgroup vote as for the _b64 forms. GPU test ps_scc_mask32 (not run on a GPU yet). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions