upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authortiagonogueiraa-bit <360313680+tiagonogueiraa-bit@users.noreply.github.com>2026-11-23 16:32:58 -0300
committertiagonogueiraa-bit <360313680+tiagonogueiraa-bit@users.noreply.github.com>2026-11-23 16:32:58 -0300
commitf797e73085bbed99c06e9732f61e68f9e3efe5c4 (patch)
treeac2f489112d1e0ca037880640b9a3723fd74aac6 /runtime/test/tiny_game_exit_code_test.cpp
parent867d922f09b86583859796a174df89555fb32da8 (diff)
rdna2spirv: translate FLAT loads and stores as global accesses
flat_load_* / flat_store_* with a 64-bit VGPR address emit the global_* code with `off` (Gen.global_mem / Gen.global_sub). An address outside the LDS and private apertures is a global access on RDNA2; the aperture bases (src_shared_base / src_private_base) are refused, so no translated program builds an aperture address from them. A non-zero instruction offset, the FLAT atomics and a 32-bit address stay Unsupported. The first-read analysis counts a FLAT d16 load's vdst, the interp copy analysis and ab_control_flow treat flat_store like global_store. CPU-checked by tests/semantic/test_flat_mem.py; contract row in docs/design.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions