mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #186] cs_lds_xchg64_ext: judge ds_or_rtn_b64's returned pair and ds_max_rtn_f32's two results apart #238
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#238
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/186
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/9918📝 Commits (1)
68a8260cs_lds_xchg64_ext: judge ds_or_rtn_b64's returned pair and ds_max_rtn_f32's two results apart📊 Changes
4 files changed (+15 additions, -10 deletions)
View changed files
📝
docs/design.md(+1 -1)📝
runtime/test/shaders/check.py(+1 -1)📝
runtime/test/shaders/cs_lds_xchg64_ext.asm(+12 -7)📝
scripts/run_gpu_tests.py(+1 -1)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Thanks for
d578b48, great coverage. Two small gaps: the returned pair of ds_or_rtn_b64 wasn't judged, and XORing ds_max_rtn_f32's memory value with its returned value couldn't tell a swapped result apart. This fixes both within the 8-word dump (out[2] now also folds in the returned pair, out[7] is the returned value of ds_max_rtn_f32 alone, its memory word is folded into out[6]) and resolves the contradictory GPU-verified wording in design.md.The new expected words were derived by hand from the header and haven't been re-run on a GPU, so a GPU run would be appreciated.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.