compute: lower wide SMEM descriptor and constant loads #3555
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3555
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3553"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lambirou on GitHub · 2026-11-30 04:36 UTC · original
lambirou:compute/smem-wide-loads→main· +148 −8 · 9 files · 4 commits · merged 2026-11-30 08:59 UTCRefs the SMEM coverage slice in the 2026-11-30 plan.
tools/compute_store_aot.pyalready decodeds_load_dwordx4/x8ands_buffer_load_dword/x2/x4. This admits the next widths:s_load_dwordx16: four consecutive 16-byte descriptor slots (16 words).s_buffer_load_dwordx8: eight words from the bound constant record.s_buffer_load_dwordx16: all sixteen words, at offset 0.The source-built test
compute_store_aot_smem_wide_loadschecks the accepted words, the highest valid destinations (s88..s103, s96..s103, s80..s95), and refusals for misaligned destinations, out-of-range registers, incomplete descriptor/constant bases, offsets past the 16-word record, overlapping destinations and a fifth table slot.Coverage
The three forms exist in both references: +3 forms in gfx1013 and +3 in gfx1030. The isolated test measures 3/1,968 and 3/1,863; the expected full table is 1,483/1,968 and 1,474/1,863.
Tests
ctest --preset dev --no-tests=error -R '^compute_store_aot_smem_wide_loads$' -V-> 1/1 passed (10.39 s).python -B tests/form_coverage_check.py-> passed.git diff --check-> clean.Not measured: a D3D12 draw/DXC compile for these forms; the check is source-built lowering only. The existing
compute_store_aot_*suite was not replayed in this worktree.The branch is based on red
main44a3ad5a; #3544 fixes the pre-existingstartup_triage_runfailure that can turn the Linux check red.AI-assisted.