Commit Graph

1 Commits

Author SHA1 Message Date
a15e10f700 rdna2spirv: ds_and_b64, ds_or_b64, ds_xor_b64 and their _rtn_ forms
A bitwise op works on each bit alone, so one 32-bit LDS atomic per dword
leaves the memory a 64-bit atomic would, without Int64 atomics on
Workgroup memory (optional in Vulkan). The _rtn_ pair is two reads and
can be torn by a concurrent 64-bit op on the same element; the memory
result is exact. The carrying 64-bit LDS atomics stay Unsupported.

tests/semantic/test_lds_bitwise_b64.py runs all six forms in the
interpreter (offsets, vdst aliasing the data, seeded values).
docs/design.md row added.
2026-11-22 10:22:18 -03:00