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:
authorMokbul Miah <12134052+mokkymiah@users.noreply.github.com>2026-11-21 21:49:54 +0000
committerMokbul Miah <12134052+mokkymiah@users.noreply.github.com>2026-11-22 09:15:01 +0000
commit8c20dd093d1d68a4b465d9307c5ddaba4f4b8dde (patch)
tree93d7e138ebdd424ff8ba2182841f274d020caa00 /runtime/src/thread_stacks.cpp
parent426023a585b47ba04509d5f3e5e52d6ae40e1109 (diff)
Translator: implement DPP16/DPP8 source selection
base_op stripped the _dpp suffix and the op ran as a plain move, so v_mov_b32_dpp quad_perm:[1,0,3,2] exported its own lane and still passed spirv-val. Implement the DPP16 controls (quad_perm, row_shl/shr/ror/share/xmask/mirror/half_mirror), DPP8 (dpp8 + fi), row/bank masks and bound_ctrl. A source lane that is out of range or inactive reads zero under bound_ctrl:1, otherwise the destination keeps its old value. Under --wave64-emulate the exchange goes through the workgroup buffer, like the other cross-lane ops. GPU-checked with cs_dpp*.asm on an RTX 3070.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions