upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 09:47:43 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 09:47:43 -0300
commit75ddea610e32246a6fa1d211a16e9878c58087ae (patch)
tree8283679cdde1931d459113161eb263454e6c02e2 /runtime/src/main.cpp
parent2fe13e7385588b8c81353626fe3e2f6f558fa695 (diff)
rdna2spirv: global_atomic_{and,or,xor,swap}_x2
A bitwise op or an exchange on a 64-bit element leaves the same memory as one 32-bit atomic per dword, so these four _x2 forms need no Int64 atomics. With glc the old pair goes to vdst[0:1]; it is two reads and can be torn by a concurrent 64-bit op on the same element. add/sub/ min/max_x2 and cmpswap_x2 stay Unsupported. tests/semantic/test_global_atomics_x2.py runs them in the interpreter. docs/design.md row updated.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions