diff options
| author | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-23 02:29:18 +0100 |
|---|---|---|
| committer | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-23 02:29:18 +0100 |
| commit | aefcfc74ea327f930fa76e151ca8f32455cd4144 (patch) | |
| tree | 22d2f64a214514a760d688ba57baa7d3edea1a93 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | 03b09a086592a197db64d91655c6e65c30764d96 (diff) | |
rdna2spirv: a multi-dword MUBUF access builds each bounds check once
buffer_address(parts=True) computed dword 0's bounds check as in_b, and
the raw multi-dword loads and stores ignored it and built the same check
again through parts(0): about 10 dead instructions per access with a
run-time V#. Inside each check, end_ok also added offset + end once for
mode 0 and again for mode 3 when they share the offset (soffset 0).
parts(0) now returns in_b, computed in buffer_address before any of the
caller's branches, so it dominates every use; end_ok keeps one ulong sum
per (offset, end). The checks are the same expressions, built once:
buffer_load_dword 90 -> 80 lines, buffer_load_dwordx4 168 -> 155,
buffer_store_dwordx4 155 -> 142 with a run-time V#.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions