rdna2_decode: align DS single-offset and ds_swizzle_b32 ROTATE/FFT formatting with LLVM (DECODE-DS-PARITY) #1524

Merged
jarvixaiassistant-glitch merged 2 commits from upstream-pr/1524 into main 2026-12-01 08:39:30 +00:00
jarvixaiassistant-glitch commented 2026-11-25 03:25:33 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by jarvixaiassistant-glitch on 2026-11-25T03:25:33Z.


Claimed in the coordination issue as: DECODE-DS-PARITY

What and why

Closes all 19 remaining mismatches in tools/rdna2_decode.py against LLVM 21.1.8's gfx10_ds.txt DS disassembler test vectors (bringing DS parity to 1,708/1,708 exact):

  1. ds_condxchg32_rtn_b64 single-offset formatting (6 vectors): _decode_one checked 2_ in name or 2st64_ in name to detect dual-offset DS instructions, which falsely matched 32_ in ds_condxchg32_rtn_b64 and emitted offset0: / offset1: instead of a single 16-bit offset:. Restricted dual-offset detection to name.startswith((ds_read2, ds_write2, ds_wrxchg2)).
  2. ds_swizzle_b32 swizzle formatting (13 vectors): Updated _format_ds_swizzle to match LLVM AMDGPUInstPrinter::printSwizzle:
    • offset16 == 0: omit the offset: modifier entirely (instead of emitting offset:swizzle(BITMASK_PERM,00000)).
    • 0xC000..0xDFFF: emit offset:swizzle(ROTATE,dir,size) where dir = (offset16 >> 10) & 1 and size = (offset16 >> 5) & 0x1F.
    • 0xE000..0xFFFF: emit offset:swizzle(FFT,mask) where mask = offset16 & 0x1F.
  3. Adds targeted unit tests in tests/test_rdna2_decode.py covering ds_condxchg32_rtn_b64 single 16-bit offset, ds_swizzle_b32 zero/ROTATE/FFT/existing bitmask modes, and preservation of ds_read2_b32 / ds_write2st64_b64 dual-offset printing.

Tested

All synthetic CPU/stdlib/docs/CI checks on Windows 11 x64, Python 3.12.14, Khronos SPIRV-Tools (LEONIDA_REQUIRE_SPIRV_TOOLS=1), no game data, no llvm-mc installed locally:

  • python -I tests/test_rdna2_decode.py -v — 21/21 passed (1 skipped: llvm-mc not installed)
  • python -I tests/test_shader_disasm.py — 31/31 passed
  • python -I tests/test_ci_registration.py — 16/16 passed
  • python -I scripts/check_no_game_data.py — passed
  • python -m compileall -q tools/rdna2_decode.py tests/test_rdna2_decode.py — passed
  • Cross-check against LLVM 21.1.8 gfx10_ds.txt vectors: 1,708/1,708 exact (was 19 mismatches)

GPUs tested: n/a (pure-Python ISA binary decoder only)

AI-assisted: yes (JARVIX multi-model team: Antigravity + DeepSeek V4 Flash + NVIDIA NIM Nemotron-3.5-Lightning & Nemotron-3-Ultra-550B)

Checklist

  • Based on current main (1cfc29af7) and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md).
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (N/A — pure-Python DS disassembler formatting parity with LLVM; no translator rule changed.)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5484569816 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524). Originally posted by [jarvixaiassistant-glitch](https://github.com/jarvixaiassistant-glitch) on 2026-11-25T03:25:33Z. --- Claimed in the coordination issue as: DECODE-DS-PARITY ### What and why Closes all 19 remaining mismatches in `tools/rdna2_decode.py` against LLVM 21.1.8's `gfx10_ds.txt` DS disassembler test vectors (bringing DS parity to **1,708/1,708 exact**): 1. **`ds_condxchg32_rtn_b64` single-offset formatting (6 vectors):** `_decode_one` checked `2_ in name or 2st64_ in name` to detect dual-offset DS instructions, which falsely matched `32_` in `ds_condxchg32_rtn_b64` and emitted `offset0:` / `offset1:` instead of a single 16-bit `offset:`. Restricted dual-offset detection to `name.startswith((ds_read2, ds_write2, ds_wrxchg2))`. 2. **`ds_swizzle_b32` swizzle formatting (13 vectors):** Updated `_format_ds_swizzle` to match LLVM `AMDGPUInstPrinter::printSwizzle`: - `offset16 == 0`: omit the `offset:` modifier entirely (instead of emitting `offset:swizzle(BITMASK_PERM,00000)`). - `0xC000..0xDFFF`: emit `offset:swizzle(ROTATE,dir,size)` where `dir = (offset16 >> 10) & 1` and `size = (offset16 >> 5) & 0x1F`. - `0xE000..0xFFFF`: emit `offset:swizzle(FFT,mask)` where `mask = offset16 & 0x1F`. 3. Adds targeted unit tests in `tests/test_rdna2_decode.py` covering `ds_condxchg32_rtn_b64` single 16-bit offset, `ds_swizzle_b32` zero/ROTATE/FFT/existing bitmask modes, and preservation of `ds_read2_b32` / `ds_write2st64_b64` dual-offset printing. ### Tested All synthetic CPU/stdlib/docs/CI checks on Windows 11 x64, Python 3.12.14, Khronos SPIRV-Tools (`LEONIDA_REQUIRE_SPIRV_TOOLS=1`), no game data, no `llvm-mc` installed locally: - `python -I tests/test_rdna2_decode.py -v` — 21/21 passed (1 skipped: `llvm-mc` not installed) - `python -I tests/test_shader_disasm.py` — 31/31 passed - `python -I tests/test_ci_registration.py` — 16/16 passed - `python -I scripts/check_no_game_data.py` — passed - `python -m compileall -q tools/rdna2_decode.py tests/test_rdna2_decode.py` — passed - Cross-check against LLVM 21.1.8 `gfx10_ds.txt` vectors: **1,708/1,708 exact** (was 19 mismatches) GPUs tested: n/a (pure-Python ISA binary decoder only) AI-assisted: yes (JARVIX multi-model team: Antigravity + DeepSeek V4 Flash + NVIDIA NIM Nemotron-3.5-Lightning & Nemotron-3-Ultra-550B) ### Checklist - [x] Based on current `main` (`1cfc29af7`) and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md). - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. *(N/A — pure-Python DS disassembler formatting parity with LLVM; no translator rule changed.)*
ytsodacan commented 2026-11-25 03:34:00 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by ytsodacan on 2026-11-25T03:34:00Z.


[KEEP]

  • Change looks correct and tightly scoped: tools/rdna2_decode.py narrows dual-offset detection to ds_read2/ds_write2/ds_wrxchg2 (fixing the 32_ false match on ds_condxchg32_rtn_b64) and _format_ds_swizzle gains the zero/ROTATE/FFT cases, with targeted tests in tests/test_rdna2_decode.py.
  • Checks (windows, macos, linux-gpu-tools, no-game-data, change-scope) were all still pending when triaged; merge once they report green.
  • Other open PRs also edit tools/rdna2_decode.py (#633, #637, #1525), so a rebase may be needed depending on merge order; no conflicts are reported right now.
  • The 1,708/1,708 LLVM parity claim could not be verified from the diff since llvm-mc was not available to the author.
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7152033514 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1524#issuecomment-7152033514). Originally posted by [ytsodacan](https://github.com/ytsodacan) on 2026-11-25T03:34:00Z. --- **[KEEP]** - Change looks correct and tightly scoped: `tools/rdna2_decode.py` narrows dual-offset detection to `ds_read2/ds_write2/ds_wrxchg2` (fixing the `32_` false match on `ds_condxchg32_rtn_b64`) and `_format_ds_swizzle` gains the zero/ROTATE/FFT cases, with targeted tests in `tests/test_rdna2_decode.py`. - Checks (windows, macos, linux-gpu-tools, no-game-data, change-scope) were all still pending when triaged; merge once they report green. - Other open PRs also edit `tools/rdna2_decode.py` (#633, #637, #1525), so a rebase may be needed depending on merge order; no conflicts are reported right now. - The 1,708/1,708 LLVM parity claim could not be verified from the diff since `llvm-mc` was not available to the author.
tiguan26 commented 2026-11-25 03:52:28 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by tiguan26 on 2026-11-25T03:52:28Z.

Review: APPROVED


Approving. Merged into current main with no conflicts; the PR's tests pass (Linux, Python 3.13). Checked against LLVM's ds_swizzle encoding: FFT is 0xE000 | n, ROTATE is 0xC000 | dir << 10 | size << 5, and offset 0 prints nothing; the two-address test now matches ds_read2/ds_write2/ds_wrxchg2 by prefix instead of any "2_" in the name.

AI-assisted (Claude).

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6051613378 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#pullrequestreview-6051613378). Originally posted by [tiguan26](https://github.com/tiguan26) on 2026-11-25T03:52:28Z. **Review:** APPROVED --- Approving. Merged into current main with no conflicts; the PR's tests pass (Linux, Python 3.13). Checked against LLVM's ds_swizzle encoding: FFT is 0xE000 | n, ROTATE is 0xC000 | dir << 10 | size << 5, and offset 0 prints nothing; the two-address test now matches ds_read2/ds_write2/ds_wrxchg2 by prefix instead of any "2_" in the name. AI-assisted (Claude).
zmasi commented 2026-11-28 22:44:06 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T22:44:06Z.


Windows 11 + llvm-mc (gfx1030) Parity Verification (b7f1371c05)

Verified b7f1371c0524a1c4a4eb1758e2ddf1b8662e82d4 merged cleanly onto main (adfb3821a) on native Windows 11 (10.0.26200, CPython 3.12.10, LLVM_MC active with AMDGPU gfx1030 target), with zero game data.

  • Red (main):
    • ds_condxchg32_rtn_b64 ([0x04, 0x00, 0xF8, 0xD9, 0x01, 0x02, 0x00, 0x05]) was misclassified as a 2-address DS instruction because "2_" matched "32_", emitting ['offset0:4'] instead of ['offset:4'].
    • ds_swizzle_b32 formatted 0xC000..0xDFFF and 0xE000..0xFFFF as raw decimal offsets (['offset:49152'], ['offset:57360']) rather than LLVM's swizzle(ROTATE,...) and swizzle(FFT,...) syntax, and did not omit offset: when offset16 == 0.
  • Green (main + #1524):
    • LLVM_MC=<llvm-mc> python -I tests/test_rdna2_decode.py -v: 24/24 OK (36.120s, including live test_parity_with_llvm_mc_on_shader_fixtures).
    • Live llvm-mc -triple=amdgcn -mcpu=gfx1030 --disassemble string parity across all 11 binary test encodings (ds_condxchg32_rtn_b64 offset:4 / offset:65535 / gds, ds_read2_b32 offset0:4 offset1:8, and ds_swizzle_b32 0, ROTATE(0,0), ROTATE(1,1), ROTATE(1,31), FFT(0), FFT(16), FFT(31) gds): 11/11 exact disassembly string matches (and 10/10 canonical encodings re-assemble byte-identically via llvm-mc --show-encoding; 0xFFFF canonicalizes to 0xE01F as in LLVM's printSwizzle & 0x1F mask).
  • Hygiene: check_no_game_data.py, test_ci_registration.py, test_docs_encoding.py, and test_text_write_line_endings.py all OK.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246943211 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7246943211). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T22:44:06Z. --- ### Windows 11 + `llvm-mc` (`gfx1030`) Parity Verification (`b7f1371c05`) Verified `b7f1371c0524a1c4a4eb1758e2ddf1b8662e82d4` merged cleanly onto `main` (`adfb3821a`) on native Windows 11 (`10.0.26200`, CPython `3.12.10`, `LLVM_MC` active with AMDGPU `gfx1030` target), with zero game data. - **Red (`main`)**: - `ds_condxchg32_rtn_b64` (`[0x04, 0x00, 0xF8, 0xD9, 0x01, 0x02, 0x00, 0x05]`) was misclassified as a 2-address DS instruction because `"2_"` matched `"32_"`, emitting `['offset0:4']` instead of `['offset:4']`. - `ds_swizzle_b32` formatted `0xC000..0xDFFF` and `0xE000..0xFFFF` as raw decimal offsets (`['offset:49152']`, `['offset:57360']`) rather than LLVM's `swizzle(ROTATE,...)` and `swizzle(FFT,...)` syntax, and did not omit `offset:` when `offset16 == 0`. - **Green (`main + #1524`)**: - `LLVM_MC=<llvm-mc> python -I tests/test_rdna2_decode.py -v`: **`24/24 OK`** (`36.120s`, including live `test_parity_with_llvm_mc_on_shader_fixtures`). - Live `llvm-mc -triple=amdgcn -mcpu=gfx1030 --disassemble` string parity across all `11` binary test encodings (`ds_condxchg32_rtn_b64` `offset:4` / `offset:65535` / `gds`, `ds_read2_b32` `offset0:4 offset1:8`, and `ds_swizzle_b32` `0`, `ROTATE(0,0)`, `ROTATE(1,1)`, `ROTATE(1,31)`, `FFT(0)`, `FFT(16)`, `FFT(31) gds`): **`11/11` exact disassembly string matches** (and `10/10` canonical encodings re-assemble byte-identically via `llvm-mc --show-encoding`; `0xFFFF` canonicalizes to `0xE01F` as in LLVM's `printSwizzle` `& 0x1F` mask). - **Hygiene**: `check_no_game_data.py`, `test_ci_registration.py`, `test_docs_encoding.py`, and `test_text_write_line_endings.py` all `OK`. AI-assisted.
TheGeogeo commented 2026-11-29 00:17:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T00:17:12Z.


Tested b7f1371c0 merged (no commit) with main 829530dbd: Python 3.12.4, Windows 11 10.0.26300, CPU only. check_no_game_data.py is clean.

  • Green: tests/test_rdna2_decode.py, 24 tests pass.
  • Red: with tools/rdna2_decode.py back to main, 10 failures (e.g. ['offset:65535', 'gds'] != ['offset:swizzle(FFT,31)', 'gds']).

No blocker from my side.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248006556 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7248006556). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T00:17:12Z. --- Tested `b7f1371c0` merged (no commit) with `main` `829530dbd`: Python 3.12.4, Windows 11 10.0.26300, CPU only. `check_no_game_data.py` is clean. - Green: `tests/test_rdna2_decode.py`, 24 tests pass. - Red: with `tools/rdna2_decode.py` back to `main`, 10 failures (e.g. `['offset:65535', 'gds'] != ['offset:swizzle(FFT,31)', 'gds']`). No blocker from my side. AI-assisted (Claude Code).
TheGeogeo commented 2026-11-29 14:17:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T14:17:51Z.


Ready for testing: merges cleanly with main 3535eb5c4. Not in main yet: git cherry finds 1 commit(s) not there, and 2 of the 43 lines it adds are already present. No duplicate found: its claim DECODE-DS-PARITY appears in no other open pull request and in no main commit.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7257193457 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7257193457). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T14:17:51Z. --- Ready for testing: merges cleanly with `main` `3535eb5c4`. Not in `main` yet: `git cherry` finds 1 commit(s) not there, and 2 of the 43 lines it adds are already present. No duplicate found: its claim `DECODE-DS-PARITY` appears in no other open pull request and in no `main` commit. AI-assisted (Claude Code).
enlight3d commented 2026-11-29 15:19:53 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:19:53Z.


RUN of #1524 (red/green, python -I, no build, no game, no GPU)

Heads tested: PR head b7f1371c0524, current origin/main 91bab934d7ee; merged = main + PR head, git merge --no-ff, local only (merged cleanly, merge commit 8babb3ce30ba).

Commands, one process each, from the worktree root:
python -I tests/test_rdna2_decode.py
Related (they import tools/rdna2_decode.py): tests/test_fspx_unpack.py, tests/test_shader_stage_resume.py, tests/semantic/test_dpp_compare.py, test_library_compute_forms.py, test_wave64_sdst_pair_fixture.py, and test_image_sample_bias_nonps.py (see the note).

  • Red (main's tools/rdna2_decode.py with the PR's tests; no new API, so this is a behavioural red, not a build failure): FAILED (failures=10) of 23 tests, all in test_ds_condxchg32_single_offset_and_swizzle_modes_match_llvm. Main prints offset0:4 / offset0:255 offset1:255 where LLVM prints offset:4 / offset:65535 for single-offset DS ops, prints a BROADCAST swizzle for ds_swizzle_b32 with offset 0 where LLVM prints none, and prints raw offset:49152 instead of swizzle(ROTATE,..) / swizzle(FFT,..). The tests fail for the reason the PR fixes.
  • Green at PR head: test_rdna2_decode.py Ran 23, OK; all related files OK.
  • Green merged into main: test_rdna2_decode.py Ran 24 (main added one), OK; all related files OK. Nothing fails merged that passes on main.
  • Note: tests/semantic/test_image_sample_bias_nonps.py fails under python -I with ModuleNotFoundError: No module named 'support' (isolated mode does not put the script folder on sys.path). Pre-existing on main, not touched by the PR; run as python tests/semantic/test_image_sample_bias_nonps.py it passes (7 tests OK at PR head and merged).

Machine: NVIDIA GeForce RTX 3090 (not used), Windows 11 Pro 10.0.26300, CPython 3.13.12.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258004107 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7258004107). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T15:19:53Z. --- RUN of #1524 (red/green, `python -I`, no build, no game, no GPU) Heads tested: PR head `b7f1371c0524`, current origin/main `91bab934d7ee`; merged = main + PR head, `git merge --no-ff`, local only (merged cleanly, merge commit `8babb3ce30ba`). Commands, one process each, from the worktree root: `python -I tests/test_rdna2_decode.py` Related (they import `tools/rdna2_decode.py`): `tests/test_fspx_unpack.py`, `tests/test_shader_stage_resume.py`, `tests/semantic/test_dpp_compare.py`, `test_library_compute_forms.py`, `test_wave64_sdst_pair_fixture.py`, and `test_image_sample_bias_nonps.py` (see the note). - Red (main's `tools/rdna2_decode.py` with the PR's tests; no new API, so this is a behavioural red, not a build failure): `FAILED (failures=10)` of 23 tests, all in `test_ds_condxchg32_single_offset_and_swizzle_modes_match_llvm`. Main prints `offset0:4` / `offset0:255 offset1:255` where LLVM prints `offset:4` / `offset:65535` for single-offset DS ops, prints a BROADCAST swizzle for `ds_swizzle_b32` with offset 0 where LLVM prints none, and prints raw `offset:49152` instead of `swizzle(ROTATE,..)` / `swizzle(FFT,..)`. The tests fail for the reason the PR fixes. - Green at PR head: `test_rdna2_decode.py` Ran 23, OK; all related files OK. - Green merged into main: `test_rdna2_decode.py` Ran 24 (main added one), OK; all related files OK. Nothing fails merged that passes on main. - Note: `tests/semantic/test_image_sample_bias_nonps.py` fails under `python -I` with `ModuleNotFoundError: No module named 'support'` (isolated mode does not put the script folder on sys.path). Pre-existing on main, not touched by the PR; run as `python tests/semantic/test_image_sample_bias_nonps.py` it passes (7 tests OK at PR head and merged). Machine: NVIDIA GeForce RTX 3090 (not used), Windows 11 Pro 10.0.26300, CPython 3.13.12.
OreoFR commented 2026-11-29 19:49:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T19:49:13Z.


Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS, Python 3.12.16, spirv-tools + llvm-mc, main 0e8737f2a (merges cleanly; does not force a rebase of #2566 at cfd12b24f), PR head b7f1371c0 : red 10 failures / green 24 OK, 0 skipped

  • tests/test_rdna2_decode.py changed on main (79a5d7838) since the PR base, so red = the merged test file against main's code.
  • Red: 14/24, 10 failures (condxchg32 and swizzle subtests). Green: 24/24, 0 skipped.
  • Full semantic suite (scripts/run_semantic_tests.py tests/semantic) and the CI translator-tests pytest selection on main and on the merge: identical to main (main: only test_interp_computed_ij_fallback x2; translator-tests 2047 OK / 19 skipped). No new failure.
  • Decoder change, not a translator rule: no .asm fixture / docs/design.md row needed.
  • Review: tiguan26 APPROVED this head; nothing open.
  • Diff: is_2addr keys on the ds_read2/ds_write2/ds_wrxchg2 prefixes instead of searching "2_"; offset16 == 0 no longer emits a swizzle modifier. No game data.

Verdict: READY

AI-assisted: Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7261581390 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7261581390). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T19:49:13Z. --- Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS, Python 3.12.16, spirv-tools + llvm-mc, main 0e8737f2a (merges cleanly; does not force a rebase of #2566 at cfd12b24f), PR head b7f1371c0 : red 10 failures / green 24 OK, 0 skipped - `tests/test_rdna2_decode.py` changed on main (79a5d7838) since the PR base, so red = the merged test file against main's code. - **Red**: 14/24, 10 failures (condxchg32 and swizzle subtests). **Green**: 24/24, 0 skipped. - Full semantic suite (`scripts/run_semantic_tests.py tests/semantic`) and the CI translator-tests pytest selection on main and on the merge: identical to main (main: only `test_interp_computed_ij_fallback` x2; translator-tests 2047 OK / 19 skipped). No new failure. - Decoder change, not a translator rule: no `.asm` fixture / `docs/design.md` row needed. - Review: tiguan26 APPROVED this head; nothing open. - Diff: `is_2addr` keys on the `ds_read2/ds_write2/ds_wrxchg2` prefixes instead of searching "2_"; `offset16 == 0` no longer emits a swizzle modifier. No game data. **Verdict: READY** AI-assisted: Claude Code
MoonEyes commented 2026-11-30 10:16:55 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T10:16:55Z.


@jarvixaiassistant-glitch could you merge current main into this branch (a merge, no rebase or force-push) so CI runs again?

The red/green from TheGeogeo, OreoFR and others is on the current head b7f1371c0. What is in the way is CI on that head, which is red on macos-python, check, stdlib-tests-linux, linux-gpu-tools and macos and ran on an older base. On main at 4014af7f, CI was green except macos. I have not checked whether each red here comes from main or from this PR, so the new run should tell.

The merge changes the head, so the red/green will need to be run again on the new one.

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7275377994 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7275377994). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T10:16:55Z. --- @jarvixaiassistant-glitch could you merge current `main` into this branch (a merge, no rebase or force-push) so CI runs again? The red/green from TheGeogeo, OreoFR and others is on the current head `b7f1371c0`. What is in the way is CI on that head, which is red on macos-python, check, stdlib-tests-linux, linux-gpu-tools and macos and ran on an older base. On `main` at `4014af7f`, CI was green except `macos`. I have not checked whether each red here comes from `main` or from this PR, so the new run should tell. The merge changes the head, so the red/green will need to be run again on the new one. AI-assisted: yes
jarvixaiassistant-glitch commented 2026-11-30 14:12:31 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by jarvixaiassistant-glitch on 2026-11-30T14:12:31Z.


@MoonEyes Merged current main (f44904d21) into fix/decode-ds-llvm-parity as merge commit aa0687837 (no rebase / no force-push, clean zero-conflict merge) so CI runs fresh against current main.

Local verification on aa0687837 (Windows 11, Python 3.12, CPU-only, no game data):

  • python -I tests/test_rdna2_decode.py: 24 ran, OK (1 skipped without local llvm-mc)
  • python -I tests/test_fspx_unpack.py: 37 OK (1 skipped)
  • python -I tests/test_shader_stage_resume.py: 47 OK
  • python -I tests/test_docs_cli_flags.py: 4 OK
  • python -I tests/test_ci_registration.py: 18 OK
  • python -I tests/test_text_write_line_endings.py: 3 OK
  • python -I scripts/check_no_game_data.py: clean (exit 0)

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7281006590 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7281006590). Originally posted by [jarvixaiassistant-glitch](https://github.com/jarvixaiassistant-glitch) on 2026-11-30T14:12:31Z. --- @MoonEyes Merged current `main` (`f44904d21`) into `fix/decode-ds-llvm-parity` as merge commit `aa0687837` (no rebase / no force-push, clean zero-conflict merge) so CI runs fresh against current `main`. Local verification on `aa0687837` (Windows 11, Python 3.12, CPU-only, no game data): - `python -I tests/test_rdna2_decode.py`: 24 ran, OK (1 skipped without local `llvm-mc`) - `python -I tests/test_fspx_unpack.py`: 37 OK (1 skipped) - `python -I tests/test_shader_stage_resume.py`: 47 OK - `python -I tests/test_docs_cli_flags.py`: 4 OK - `python -I tests/test_ci_registration.py`: 18 OK - `python -I tests/test_text_write_line_endings.py`: 3 OK - `python -I scripts/check_no_game_data.py`: clean (exit 0) AI-assisted: yes
MoonEyes commented 2026-12-01 07:55:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T07:55:11Z.


Verified by MoonEyes (another person than the author) on head aa0687837 merged with main 501b3e6c5: Windows 11, Python 3.14, no llvm-mc in use here. tests/test_rdna2_decode.py: 24 tests, 23 OK and 1 error, test_parity_with_llvm_mc_on_shader_fixtures (it does not find llvm-mc on this machine, and the same test errors on main). Red: with tools/rdna2_decode.py back to main, 10 failures plus that same error. Neighbours test_fspx_unpack, test_rdna2_isa_tables and test_shader_disasm OK.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7304646361 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7304646361). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-01T07:55:11Z. --- Verified by MoonEyes (another person than the author) on head `aa0687837` merged with `main` `501b3e6c5`: Windows 11, Python 3.14, no `llvm-mc` in use here. `tests/test_rdna2_decode.py`: 24 tests, 23 OK and 1 error, `test_parity_with_llvm_mc_on_shader_fixtures` (it does not find `llvm-mc` on this machine, and the same test errors on `main`). Red: with `tools/rdna2_decode.py` back to `main`, 10 failures plus that same error. Neighbours `test_fspx_unpack`, `test_rdna2_isa_tables` and `test_shader_disasm` OK. AI-assisted (Claude Code).
MoonEyes commented 2026-12-01 08:39:27 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T08:39:27Z.


Merging. Head aa0687837 merges cleanly with main cd73ddab7 and does not force a rebase of #2566. CI green on this head and on main. Red/green by TheGeogeo, OreoFR, enlight3d and zmasi on an earlier head with the same change; I ran it on this head merged with main (Windows, Python 3.14, no llvm-mc here): 23 of 24 OK, 10 failures without the change, the one error is llvm-mc missing and the same on main. A decoder tool and its test. Merged by MoonEyes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7305607185 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1524#issuecomment-7305607185). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-01T08:39:27Z. --- Merging. Head `aa0687837` merges cleanly with `main` `cd73ddab7` and does not force a rebase of #2566. CI green on this head and on main. Red/green by TheGeogeo, OreoFR, enlight3d and zmasi on an earlier head with the same change; I ran it on this head merged with main (Windows, Python 3.14, no llvm-mc here): 23 of 24 OK, 10 failures without the change, the one error is llvm-mc missing and the same on main. A decoder tool and its test. Merged by MoonEyes. AI-assisted (Claude Code).
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
ProjectLeonida/mandy!1524
No description provided.