tests/semantic: validate RDNA2 ds_bpermute_b32 backward permute semantics #770

Closed
leonida/mandy
abnalstlll-byte wants to merge 0 commits from feat/rdna2-ds-bpermute-wave64 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

abnalstlll-byte commented 2026-11-24 13:35:45 +00:00

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 \
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 \
KernelSmoker reviewed 2026-11-24 13:41:03 +00:00
KernelSmoker left a comment
No description provided.
Independent CPU-only verification of PR head `9eaacb785962cdc48a12a4528fb5fc7e4593ac6b` on base `2d73c242fddfe26d57b52ee150704e6c3b23cff4`: `python3 -I tests/semantic/test_ds_bpermute.py` passed 14/14, and `git diff --check` passed. The suite exercises the translated shader through `spirv_mini_interp` with synthetic inputs, including active/inactive lanes, unaligned addresses, wave64 half isolation, and 32-wide subgroup emulation. No game data or GPU used. AI-assisted independent verification.
abnalstlll-byte commented 2026-11-25 21:48:24 +00:00

Rebased onto latest \main.
Verified \python3 -I tests/semantic/test_ds_bpermute.py\ (14/14 passed in 1.1s), \scripts/check_no_game_data.py\ (clean), and \git diff --check.

AI-assisted (Claude Code, Claude Opus 5.5).

Rebased onto latest \main\. Verified \python3 -I tests/semantic/test_ds_bpermute.py\ (14/14 passed in 1.1s), \scripts/check_no_game_data.py\ (clean), and \git diff --check\. AI-assisted (Claude Code, Claude Opus 5.5).
MoonEyes commented 2026-11-28 18:00:58 +00:00

Hi @abnalstlll-byte, thanks for this pull request. It currently conflicts with main (conflicting file(s): docs/design.md), so it carries the needs rebase label. CONTRIBUTING.md asks authors to rebase their branch on main; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.

AI-assisted (Claude Code, Claude Opus 5.5).

Hi @abnalstlll-byte, thanks for this pull request. It currently conflicts with `main` (conflicting file(s): `docs/design.md`), so it carries the `needs rebase` label. CONTRIBUTING.md asks authors to rebase their branch on `main`; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here. AI-assisted (Claude Code, Claude Opus 5.5).
aslan2142 reviewed 2026-12-01 11:35:12 +00:00
aslan2142 left a comment
No description provided.
Conflicts with `main` in `docs/design.md`, and CI is failing on stale checks. Please rebase onto current `main` to resolve the `docs/design.md` conflict and trigger a fresh green CI pass. *(AI-assisted review.)*
aslan2142 commented 2026-12-01 16:31:55 +00:00

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (d3d12/) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, d3d12/, or general docs), please feel free to reopen it.

Closing this PR because the legacy C++ Vulkan runtime (and legacy Python shader compiler) is now considered deprecated in favor of the new Rust Vulkan runtime (in progress) and the Rust DX12 runtime (`d3d12/`) available now. Thank you for the contribution! If you believe this PR was closed by mistake (for example, if it still applies to active tools, `d3d12/`, or general docs), please feel free to reopen it.
Sign in to join this conversation.
No description provided.