upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authordaveleone <63382327+daveleone@users.noreply.github.com>2026-11-22 11:53:17 +0100
committerdaveleone <63382327+daveleone@users.noreply.github.com>2026-11-22 11:53:17 +0100
commitf4edee1530a8243fbcb11346fe8d1662c001c07b (patch)
treeda158fafc438fff3e81d3d21dde8f6613889d243 /runtime/src/thread_stacks.cpp
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
tests/semantic: s_or_saveexec_b32/b64 run lane by lane
s_or_saveexec_b32 is translated but nothing in tests/ or the fuzzers ran it. The new test translates a synthetic compute shader per case and runs every lane in lockstep with spirv_mini_interp.run_workgroup, in wave32 (_b32) and native wave64 (_b64), and checks per lane the new EXEC bit, the D bit and SCC against the RDNA2 ISA pseudocode (section 12.3, opcodes 37 and 61): D = EXEC; EXEC = S0 | EXEC; SCC = (EXEC != 0). D is preset to all ones and SCC to the opposite of the expected value, so a result the translator never writes cannot pass. --wave64-emulate is checked to translate only (the interpreter does not run its workgroup barriers).
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions