[PR #770] tests/semantic: validate RDNA2 ds_bpermute_b32 backward permute semantics #809

Open
opened 2026-11-26 20:19:07 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/770
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: feat/rdna2-ds-bpermute-wave64


📝 Commits (1)

  • edbec6e tests/semantic: validate RDNA2 ds_bpermute_b32 backward permute semantics

📊 Changes

2 files changed (+424 additions, -1 deletions)

View changed files

📝 docs/design.md (+1 -1)
➕ tests/semantic/test_ds_bpermute.py (+423 -0)

📄 Description

Comprehensive semantic test suite for RDNA2 \ds_bpermute_b32\ backward (gather) cross-lane permutes across wave32 and wave64.

Background and RDNA2 ISA Semantics (Section 10.4.4)

  • Lane \l\ reads \ Data\ of lane ((vAddr + offset) / 4) mod 32\ of its own 32-lane half.
  • Low 2 bits of address are ignored (>> 2\ byte addressing).
  • An active destination lane reading an inactive source lane (source lane off in \EXEC) reads \

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/770 **Author:** [@abnalstlll-byte](https://github.com/abnalstlll-byte) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/rdna2-ds-bpermute-wave64` --- ### 📝 Commits (1) - [`edbec6e`](https://github.com/ubiquitarianism/leonida/commit/edbec6e3e471faee02aa68de2fab2e77029f6eff) tests/semantic: validate RDNA2 ds_bpermute_b32 backward permute semantics ### 📊 Changes **2 files changed** (+424 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/design.md` (+1 -1) ➕ `tests/semantic/test_ds_bpermute.py` (+423 -0) </details> ### 📄 Description Comprehensive semantic test suite for RDNA2 \ds_bpermute_b32\ backward (gather) cross-lane permutes across wave32 and wave64. ### Background and RDNA2 ISA Semantics (Section 10.4.4) - Lane \l\ reads \ Data\ of lane \((vAddr + offset) / 4) mod 32\ of its own 32-lane half. - Low 2 bits of address are ignored (\>> 2\ byte addressing). - An active destination lane reading an inactive source lane (source lane off in \EXEC\) reads \ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#809
No description provided.