shader: lower private qword comparisons and XOR #943
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!943
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/943/head"
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?
@stan495 on GitHub · 2026-11-23 18:08 UTC · original
stan495:codex/gfx1030-ds-min-i64→main· +313 −6 · 4 files · 8 commits · closed without mergingSuperseded by #1002, which merged the same five non-returning forms. The returning variants remain in #944 and now build on the implementation in main.
Scope
Lower signed and unsigned qword min/max and per-dword XOR. Compare unsigned low dwords only when the high dwords are equal.
Depends on #942. The draft includes the prerequisite in its branch history. Review the five forms in commit
5bc4456.Verification
Tested
5bc4456on Windows 11 25H2 (10.0.26200.9974) with the D3D12 debug layer enabled. Hardware used AMD Radeon RX 7900 XTX (32.0.32029.2010). WARP used Microsoft Basic Render Driver (10.0.26100.9818).9 passed, 0 failed, 0 skipped. Both backends compared all 320 UAV words. Switching the comparison signedness first differed at word 0. Replacing XOR with OR first differed at word 16 (fffffff0 expected, fffffff8 observed).
LLVM 15.0.7 round trips reproduced the same HLSL as text translation. Coverage records include all five new forms.
Pull request closed