diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 10:03:02 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 10:03:47 -0300 |
| commit | 289449927d27613b0b2ce289d548a8891e2c8868 (patch) | |
| tree | 7c685294f681632285924bce1e2eabccaa6df828 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | 2fe13e7385588b8c81353626fe3e2f6f558fa695 (diff) | |
rdna2spirv: 8/16-bit global stores and d16 global loads
global_store_byte/short[_d16_hi] and global_load_{u,s}byte_d16[_hi] /
global_load_short_d16[_hi] were rejected. They now go one byte at a time
at the global_* address: a store merges each byte into its dword with
atomic and/or (neighbours kept), a load reads each byte and inserts the
16-bit result into one half of vdst, keeping the other. A 16-bit access
crossing a dword is exact. The first-read analysis counts a d16 load's
vdst as read.
global_load/store_dword_addtid crashed with IndexError (no vaddr); they
now raise Unsupported. The address code moves to global_address, the
same change #1633 makes.
tests/semantic/test_global_sub_dword.py covers every byte offset 0-7 per
op, an inactive lane and the rejected forms. docs/design.md row added.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions