fix: bring the Rust RDNA 2 reference interpreter back to parity with the Python model #344

Closed
github-bot wants to merge 9 commits from github-bot/gh-344 into rust/full AGit
Owner

@⁠LooperSalty on GitHub · 2026-11-26 10:33 UTC · original
LooperSalty:codex/rdna2-ref-catchup → rust/full · +491 −54 · 17 files · 9 commits · closed without merging

Brings crates/anyxboxx-rdna2-ref back to parity with the Python reference interpreter after main (Neptune) was merged into rust/full. These are the 5 tests/test_rdna2_ref_parity.py failures that turn #285's pytest job red.

Changes (9 commits, written by Codex)

  • scalar cache hints, scalar halfword pack instructions
  • packed integer VOP3P, VOP3 integer clamp, 16-bit integer comparisons
  • d16 typed buffer accesses
  • inline floating constants read at 64-bit width
  • scalar mask writes beyond the register file refused
  • SDWA output modifiers on integer results refused

Test plan

  • ANYXBOXX_REQUIRE_RUNTIME=1 pytest tests/test_rdna2_ref_parity.py: 36 passed (release build, run locally)
  • cargo test of the two RDNA 2 crates: 125 passed (Codex run)
  • CI green
  • after merge, re-run #285's CI

Known gap: a random sweep still finds 274 wave32/64 cases where Rust refuses an instruction that Python executes. Encoding coverage is still incomplete, and that sweep is not part of the suite.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LwHrL62nyr3m1M4tJsHRox

**@⁠LooperSalty** on GitHub · 2026-11-26 10:33 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/344) `LooperSalty:codex/rdna2-ref-catchup` → `rust/full` · +491 −54 · 17 files · 9 commits · closed without merging Brings `crates/anyxboxx-rdna2-ref` back to parity with the Python reference interpreter after `main` (Neptune) was merged into `rust/full`. These are the 5 `tests/test_rdna2_ref_parity.py` failures that turn #285's pytest job red. ## Changes (9 commits, written by Codex) - scalar cache hints, scalar halfword pack instructions - packed integer VOP3P, VOP3 integer clamp, 16-bit integer comparisons - d16 typed buffer accesses - inline floating constants read at 64-bit width - scalar mask writes beyond the register file refused - SDWA output modifiers on integer results refused ## Test plan - [x] `ANYXBOXX_REQUIRE_RUNTIME=1 pytest tests/test_rdna2_ref_parity.py`: 36 passed (release build, run locally) - [x] `cargo test` of the two RDNA 2 crates: 125 passed (Codex run) - [ ] CI green - [ ] after merge, re-run #285's CI Known gap: a random sweep still finds 274 wave32/64 cases where Rust refuses an instruction that Python executes. Encoding coverage is still incomplete, and that sweep is not part of the suite. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01LwHrL62nyr3m1M4tJsHRox
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:03:19 +00:00
Author
Owner

@⁠chatgpt-codex-connector[bot] on GitHub · 2026-11-26 10:33 UTC · original · edited 2026-11-26 10:35 UTC

Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T10:35:21.774626Z 855c574 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@⁠codex review" or "@⁠codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

**@⁠chatgpt-codex-connector[bot]** on GitHub · 2026-11-26 10:33 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/344#issuecomment-7189524016) · edited 2026-11-26 10:35 UTC <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"855c5749ec10979d1ddc4f0bb0bc8950e11b7e9c","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-26T10:35:21.774626Z">2026-11-26T10:35:21.774626Z</relative-time> | `855c574` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@⁠codex review" or "@⁠codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
github-bot closed this pull request 2026-11-26 11:48:22 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.