shader: lower v_mad_u64_u32 and v_mad_i64_i32 in the direct C++ compute path #3123
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!3123
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3004"
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?
The direct compute frontend refused the 64-bit multiply-adds. They now
follow gfx2hlsl.py's mad64: D = S0 * S1 + S2 modulo 2^64 with zero- or
sign-extended 32-bit factors and a VGPR- or SGPR-pair S2. The unsigned
form writes the carry-out of the 64-bit add to its VOP3B SDST through
the lane-mask path of the carry adds, and carry_destination names that
SDST for the symbolic state. The signed form is lowered only with the
null SDST, and inline float factors are refused, as in gfx2hlsl.py.
tests/native_mad64_check.py dispatches products just below 2^64 so that
exactly the odd lanes carry, checks the module, three refusals and
three mutated references.
Refs #3000. AI-assisted.
Co-Authored-By: Claude Opus 5.5 [email protected]
Conflicts:
src/gfx1013_direct_compute.inl
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.