shader: lower the exec-writing VOPC SDWA compares #3551
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!3551
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3549"
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 03:56 UTC · original
lambirou:shader/cmpx-sdwa→main· +335 −46 · 13 files · 8 commits · merged 2026-11-30 08:59 UTCRefs #1790. Refs #932.
Lot 1b lowers the 62 exec-writing VOPC SDWA comparisons. VOPC SDWA encodes no destination and no
dst_sel/dst_unused: the compare writes EXEC, so each form reuses the existingv_cmpxregion opener unchanged (thes_mov_b64 s[a:b], execsave, the entry-mask intersection, the SKIP/else handling and the two closes). The non-SDWA path is untouched;cmpx_exec_save,open_cmpx_regionandcmpx_save_paironly factor out logic the region opener already used.Forms covered: 16 f32 predicates (whole-dword selections only, as their
v_cmpforms), 16 f16 predicates,v_cmpx_class_f16,v_cmpx_class_f32, 8 i32, 8 u32, 6 i16 and 6 u16.Coverage
docs/coverage/gfx1013.tsvanddocs/coverage/rdna2.tsv.pixel_aot_|compute_store_aot_(no_hardware): 194 pass, 0 fail, 0 skip, 344.0 s.Tests
draw-cmpx-sdwapasses on WARP and on the AMD Radeon RX 9060 XT (driver 32.0.32029.2010).draw-cmpx-regionsanddraw-sdwa-cmppass on WARP and hardware.python -B tests/form_coverage_check.pypasses;rdna2_tools_check.pyreports 159 tests, 19 skips (LLVM_LIB absent).docs_links_check.py: 181 Markdown files and 726 links;bidi_controls_check.py: 2,688 files;git diff --check: clean.Limits
The worktree's CMake configure stops in the Opus dependency (
LNK1104: m.lib), so the 194-entry run replayed the main build's CTest command list with this tree's tests and the main build'soffscreen_check.exe; it is not a freshctest. The PR CI will configure normally and is the authoritative check. Byte/word selections on f32 predicates remain refused, as in lot 1a; 64-bit SDWA exec writers do not exist in the references.The branch is based on red
main44a3ad5a. #3544 fixes the six pre-existing failures from #3472/#3471; until it lands, the Windows/Linux checks here can fail on those unrelated tests.On the final head, the gfx1013 and Windows checks pass; the Linux check fails only on the pre-existing
startup_triage_runreason fixed by #3544.AI-assisted.