[PR #701] rdna2spirv: track D16 XYZ writes per destination #740

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

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/701
Author: @akimfomin
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: portbridge/d16-xyz-continued


📝 Commits (1)

  • 66dbbf3 rdna2spirv: track D16 XYZ writes per destination

📊 Changes

4 files changed (+79 additions, -4 deletions)

View changed files

📝 docs/design.md (+1 -0)
➕ tests/semantic/fixtures/ps_wave64_d16_xyz.asm (+15 -0)
📝 tests/semantic/test_wave64_halves_partial_dst.py (+46 -0)
📝 tools/wave64_halves.py (+17 -4)

📄 Description

Claimed in the Continued coordination thread as the D16 XYZ destination classification follow-up to #265.

PortBridge linked the original Reforge and Continued work and reproduced ecox982745’s correction on Continued. The original contributor is credited below and in the commit. The complete four-file change is carried over, including the two synthetic regressions and design note.

What and why

Track the two destination words separately for full-EXEC three-component D16 buffer loads. X/Y overwrite the first word. Only part of the second word keeps its old value. The tests cover both MUBUF and MTBUF cases and preserve the masked-write controls.

Tested

  • Continued base 21625bca8c67 on Windows 11, Python 3.12.14 (CPU).
  • Base passed 135 focused and neighboring checks. This exact four-file change passed 137/137. Adding the two tests without the classifier change reproduced seven failing subchecks.
  • The receiving-side run checks the classifier on CPU. The original Reforge report has the separate hardware evidence.

PortBridge pilot record · Earlier Continued result

AI-assisted with Codex. Original change by ecox982745. PortBridge prepared the transfer and independent CPU check.


🔄 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/701 **Author:** [@akimfomin](https://github.com/akimfomin) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `portbridge/d16-xyz-continued` --- ### 📝 Commits (1) - [`66dbbf3`](https://github.com/ubiquitarianism/leonida/commit/66dbbf3e176880487617609547b02c98add60297) rdna2spirv: track D16 XYZ writes per destination ### 📊 Changes **4 files changed** (+79 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/design.md` (+1 -0) ➕ `tests/semantic/fixtures/ps_wave64_d16_xyz.asm` (+15 -0) 📝 `tests/semantic/test_wave64_halves_partial_dst.py` (+46 -0) 📝 `tools/wave64_halves.py` (+17 -4) </details> ### 📄 Description Claimed in [the Continued coordination thread](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131221270) as the D16 XYZ destination classification follow-up to #265. [PortBridge](https://github.com/akimfomin/PortBridge) linked the original Reforge and Continued work and reproduced [ecox982745’s correction](https://github.com/ecox982745/Leonida/commit/a300ba63d1a9a4cdfde1d64f136728545b4ab7b8) on Continued. The original contributor is credited below and in the commit. The complete four-file change is carried over, including the two synthetic regressions and design note. **What and why** Track the two destination words separately for full-EXEC three-component D16 buffer loads. X/Y overwrite the first word. Only part of the second word keeps its old value. The tests cover both MUBUF and MTBUF cases and preserve the masked-write controls. **Tested** - Continued base `21625bca8c67` on Windows 11, Python 3.12.14 (CPU). - Base passed 135 focused and neighboring checks. This exact four-file change passed 137/137. Adding the two tests without the classifier change reproduced seven failing subchecks. - The receiving-side run checks the classifier on CPU. The [original Reforge report](https://github.com/LeonidaReforge/Leonida/pull/15#issuecomment-7125522634) has the separate hardware evidence. [PortBridge pilot record](https://github.com/akimfomin/PortBridge/issues/4) · [Earlier Continued result](https://github.com/ubiquitarianism/leonida/pull/265#issuecomment-7128554846) AI-assisted with Codex. Original change by ecox982745. PortBridge prepared the transfer and independent CPU check. --- <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#740
No description provided.