xshader: accept immediates in signed no-carry add and subtract #125
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!125
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/125/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?
@smith-3 on GitHub · 2026-11-25 00:21 UTC · original
smith-3:codex/shader-regression→main· +59 −9 · 2 files · 2 commits · merged 2026-11-25 01:50 UTCSummary
Extend #95 to accept integer immediates in
v_add_nc_i32andv_sub_nc_i32, and low-half integer immediates inv_add_nc_i16andv_sub_nc_i16. The 16-bit regression covers writes to either destinationhalf and checks that the other half is preserved. Both regressions use
synthetic RDNA 2 instructions assembled by LLVM.
Checks
32-bit operations and all 48 results for 16-bit operations matched
the expected values. The untouched half was preserved in all 48
16-bit results. All 1,152 GPU readback words matched.
AI-assisted contribution.