diff options
| author | tiagonogueiraa-bit <360313680+tiagonogueiraa-bit@users.noreply.github.com> | 2026-11-23 16:32:58 -0300 |
|---|---|---|
| committer | tiagonogueiraa-bit <360313680+tiagonogueiraa-bit@users.noreply.github.com> | 2026-11-23 16:32:58 -0300 |
| commit | f797e73085bbed99c06e9732f61e68f9e3efe5c4 (patch) | |
| tree | ac2f489112d1e0ca037880640b9a3723fd74aac6 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 867d922f09b86583859796a174df89555fb32da8 (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/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions