tooling: add a loop census for mesh-stage programs (Part of #1998) #2276

Merged
NiiRoZz merged 3 commits from upstream-pr/2284 into main 2026-11-25 10:58:56 +00:00
NiiRoZz commented 2026-11-25 10:06:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T10:06:58Z.


Change

Part of #1998 (item I, the census half). No lowering change.

tools/mesh_loop_census.py reads a directory of DXBC containers, keeps the
mesh-stage programs that tools/mesh_entry_aot.py decodes, and prints
aggregate Markdown tables only. No file name, digest, offset or instruction of
an input reaches the output; lowerer messages are printed with registers and
numbers replaced by N.

  • Static, independent of the lowerers: every backward branch is an observed
    back-edge, with the body from the branch target to the branch. Per back-edge:
    group barrier in the body, LDS access in the body, EXEC written in the body
    (an upper bound on a loop-carried EXEC, since a save/restore pair counts
    too), a latch that tests EXEC, a scalar read before the body writes it, the
    trip count as a pattern (constant start, step and bound, no second exit; not
    a proof; anything else is reported as other with nothing claimed), nesting
    and the body length.
  • Lowerers: mesh_entry_aot.lower and mesh_dynamic_aot.enumerate_variants
    run once per program. Each program is counted once by its first refusal,
    placed at a latch, in a loop body, before the first loop or after one. The
    run is repeated with the two flat-scratch setup writes replaced by s_nop,
    because both lowerers refuse s_setreg_imm32_b32 and that refusal hides
    what follows.
  • LLVM 15 prints a negative branch offset unsigned (s_branch 65535). The
    census reads it signed.

tests/mesh_loop_census_check.py is registered as mesh_loop_census in CMake,
in the platform-independent Python job and in AGENTS.md;
docs/experiments.md has the commands.

Verification

Branch tools/mesh-loop-census, one commit on main 19509ee4.

python -B tests/mesh_loop_census_check.py
python -B tests/mesh_loop_census_check.py binary llvm-mc llvm-objcopy
python -B tests/docs_links_check.py
python -B tests/bidi_controls_check.py
git diff --check origin/main...HEAD
  • Both modes print Mesh loop census classified 14 source-built programs; 14 mutants changed category. binary used LLVM 15 llvm-mc and llvm-objcopy:
    each source reassembles to the embedded bytes and the llvm-mc listing equals
    the Python decode once the branch offsets are read signed.
  • docs_links_check: 18 Markdown files, 435 links. bidi_controls_check: 1,578
    files, clean. git diff --check: clean.

Not run: --llvm (no LLVM C library on this machine; only --llvm-mc was
exercised), CMake/ctest, and the Ubuntu job.

Evidence and follow-up

  • Fixtures: 14 hand-written gfx1013 programs of 2 to 9 instructions, assembled
    with LLVM 15 for amdgcn--amdpal, -mcpu=gfx1013, wave64. Sources and bytes
    are in the check; MIT like the rest of the repository. They carry a loop and
    nothing else and are not complete mesh programs.
  • Negative controls: a loop-free program is not counted; a barrier before the
    header instead of inside the body changes the barrier column; a back-edge
    turned into a forward branch removes the loop. The other mutants each move
    one loop across one boundary: bound, start or step not constant, counter not
    stepped by add/sub, latch not testing the compare, a second exit, EXEC write
    removed, latch no longer testing EXEC, unconditional latch made conditional,
    LDS access removed, scalar no longer carried, inner start unknown.
  • What the public fixtures verify: the classification of each shape, the
    placement of a first refusal relative to a loop, the signed reading of branch
    offsets, de-duplication and stage filtering of a directory, and that the
    rendered tables hold no operand or encoding. They do not verify any count
    from a private corpus; those are in the #1998 comment.
  • Assumptions: a backward branch is taken as a loop without building a control
    flow graph; "loop-carried scalar" uses body order, not a data-flow fixed
    point; the LLVM C library prints the same branch spelling as llvm-mc.
  • Follow-up: the back-edge spelling fix for the lowerers is a separate pull
    request. A latch that is s_cbranch_execnz or s_cbranch_vccz raises
    KeyError in both lowerers; the check pins that as the current behavior so
    a later named refusal shows up as a deliberate change. It also pins the
    s_setreg_imm32_b32 refusal of the flat-scratch setup, so a change that
    accepts the setup has to update check_lowerers.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted (Claude Code).

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6602010372 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2284). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-25T10:06:58Z. --- ## Change Part of #1998 (item I, the census half). No lowering change. `tools/mesh_loop_census.py` reads a directory of DXBC containers, keeps the mesh-stage programs that `tools/mesh_entry_aot.py` decodes, and prints aggregate Markdown tables only. No file name, digest, offset or instruction of an input reaches the output; lowerer messages are printed with registers and numbers replaced by `N`. - Static, independent of the lowerers: every backward branch is an observed back-edge, with the body from the branch target to the branch. Per back-edge: group barrier in the body, LDS access in the body, EXEC written in the body (an upper bound on a loop-carried EXEC, since a save/restore pair counts too), a latch that tests EXEC, a scalar read before the body writes it, the trip count as a pattern (constant start, step and bound, no second exit; not a proof; anything else is reported as `other` with nothing claimed), nesting and the body length. - Lowerers: `mesh_entry_aot.lower` and `mesh_dynamic_aot.enumerate_variants` run once per program. Each program is counted once by its first refusal, placed at a latch, in a loop body, before the first loop or after one. The run is repeated with the two flat-scratch setup writes replaced by `s_nop`, because both lowerers refuse `s_setreg_imm32_b32` and that refusal hides what follows. - LLVM 15 prints a negative branch offset unsigned (`s_branch 65535`). The census reads it signed. `tests/mesh_loop_census_check.py` is registered as `mesh_loop_census` in CMake, in the platform-independent Python job and in `AGENTS.md`; `docs/experiments.md` has the commands. ## Verification Branch `tools/mesh-loop-census`, one commit on `main` 19509ee4. ```text python -B tests/mesh_loop_census_check.py python -B tests/mesh_loop_census_check.py binary llvm-mc llvm-objcopy python -B tests/docs_links_check.py python -B tests/bidi_controls_check.py git diff --check origin/main...HEAD ``` - Both modes print `Mesh loop census classified 14 source-built programs; 14 mutants changed category`. `binary` used LLVM 15 `llvm-mc` and `llvm-objcopy`: each source reassembles to the embedded bytes and the `llvm-mc` listing equals the Python decode once the branch offsets are read signed. - `docs_links_check`: 18 Markdown files, 435 links. `bidi_controls_check`: 1,578 files, clean. `git diff --check`: clean. Not run: `--llvm` (no LLVM C library on this machine; only `--llvm-mc` was exercised), CMake/ctest, and the Ubuntu job. ## Evidence and follow-up - Fixtures: 14 hand-written gfx1013 programs of 2 to 9 instructions, assembled with LLVM 15 for `amdgcn--amdpal`, `-mcpu=gfx1013`, wave64. Sources and bytes are in the check; MIT like the rest of the repository. They carry a loop and nothing else and are not complete mesh programs. - Negative controls: a loop-free program is not counted; a barrier before the header instead of inside the body changes the barrier column; a back-edge turned into a forward branch removes the loop. The other mutants each move one loop across one boundary: bound, start or step not constant, counter not stepped by add/sub, latch not testing the compare, a second exit, EXEC write removed, latch no longer testing EXEC, unconditional latch made conditional, LDS access removed, scalar no longer carried, inner start unknown. - What the public fixtures verify: the classification of each shape, the placement of a first refusal relative to a loop, the signed reading of branch offsets, de-duplication and stage filtering of a directory, and that the rendered tables hold no operand or encoding. They do not verify any count from a private corpus; those are in the #1998 comment. - Assumptions: a backward branch is taken as a loop without building a control flow graph; "loop-carried scalar" uses body order, not a data-flow fixed point; the LLVM C library prints the same branch spelling as `llvm-mc`. - Follow-up: the back-edge spelling fix for the lowerers is a separate pull request. A latch that is `s_cbranch_execnz` or `s_cbranch_vccz` raises `KeyError` in both lowerers; the check pins that as the current behavior so a later named refusal shows up as a deliberate change. It also pins the `s_setreg_imm32_b32` refusal of the flat-scratch setup, so a change that accepts the setup has to update `check_lowerers`. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
upstream-sync closed this pull request 2026-11-25 11:02:18 +00:00
tedin7 commented 2026-11-25 11:02:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:10:59Z.

Review: COMMENTED


Review of head fd57054027ed8498ac56641e2e1ec42ad3ae913b (tooling only, no lowering change).

Commands run locally (Linux)

  • git diff --stat origin/main...HEAD: 6 files, +625 (census tool, its check, CMake/CI/AGENTS/docs wiring)
  • python3 tests/mesh_loop_census_check.py: classified 14 source-built programs; 14 mutants changed category, Self-test passed.
  • python3 tests/docs_links_check.py: 18 files, 435 links, passed
  • python3 tests/bidi_controls_check.py: 1578 files, no bidi controls
  • git diff --check origin/main...HEAD: clean
  • git merge-tree --write-tree origin/main HEAD: CONFLICT (content): Merge conflict in CMakeLists.txt
  • gh pr checks: no checks reported on the branch

Mutations

  • s_cbranch_scc0/scc1 latch set reduced to scc0 only in trip(): the check fails (AssertionError ... 'other'). Killed.
  • Signed-branch threshold >= 0x8000 changed to >= 0x8001 in signed_branches() (tools/mesh_loop_census.py:93): the check still passes. Survived.

Findings

  • P1: none.
  • P2: the PR is CONFLICTING with main. The conflict is in CMakeLists.txt, near the new add_test(NAME mesh_loop_census ...) in the mesh test block (~line 7441). Rebase before it can go in.
  • P2: the survived mutation above. The only fixture for signed branch offsets does not cover the 32768 boundary (s_branch 32768 is -32768). Add one fixture at the boundary, or say it is out of scope.
  • nit: trip() excludes by startswith prefix (s_mov, s_mul, s_cselect, ...). A later s_mul_* or s_cselect_* that writes SCC would be skipped when picking the last SCC writer, so the pattern could be claimed too generously. The docs say it is "not a proof", so this is acceptable, but a one-line note would help.
  • Positives: output is aggregate only (no names, digests or offsets); title and body are neutral; CI list, AGENTS.md and CTest are all wired; docs and link checks pass.

I did not run Win2025: no shader or C++ change, Python-only tooling.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6055594608 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2284#pullrequestreview-6055594608). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T10:10:59Z. **Review:** COMMENTED --- Review of head `fd57054027ed8498ac56641e2e1ec42ad3ae913b` (tooling only, no lowering change). **Commands run locally (Linux)** - `git diff --stat origin/main...HEAD`: 6 files, +625 (census tool, its check, CMake/CI/AGENTS/docs wiring) - `python3 tests/mesh_loop_census_check.py`: `classified 14 source-built programs; 14 mutants changed category`, `Self-test passed.` - `python3 tests/docs_links_check.py`: 18 files, 435 links, passed - `python3 tests/bidi_controls_check.py`: 1578 files, no bidi controls - `git diff --check origin/main...HEAD`: clean - `git merge-tree --write-tree origin/main HEAD`: `CONFLICT (content): Merge conflict in CMakeLists.txt` - `gh pr checks`: no checks reported on the branch **Mutations** - `s_cbranch_scc0`/`scc1` latch set reduced to `scc0` only in `trip()`: the check fails (`AssertionError ... 'other'`). Killed. - Signed-branch threshold `>= 0x8000` changed to `>= 0x8001` in `signed_branches()` (tools/mesh_loop_census.py:93): the check still passes. Survived. **Findings** - P1: none. - P2: the PR is `CONFLICTING` with main. The conflict is in `CMakeLists.txt`, near the new `add_test(NAME mesh_loop_census ...)` in the mesh test block (~line 7441). Rebase before it can go in. - P2: the survived mutation above. The only fixture for signed branch offsets does not cover the 32768 boundary (`s_branch 32768` is -32768). Add one fixture at the boundary, or say it is out of scope. - nit: `trip()` excludes by `startswith` prefix (`s_mov`, `s_mul`, `s_cselect`, ...). A later `s_mul_*` or `s_cselect_*` that writes SCC would be skipped when picking the last SCC writer, so the pattern could be claimed too generously. The docs say it is "not a proof", so this is acceptable, but a one-line note would help. - Positives: output is aggregate only (no names, digests or offsets); title and body are neutral; CI list, AGENTS.md and CTest are all wired; docs and link checks pass. I did not run Win2025: no shader or C++ change, Python-only tooling. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 11:02:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:29:50Z.

Review: COMMENTED


Re-review of head dc3af5382086e52eeadd64fccac5b08c1cbe1853 (tooling only, no lowering change). Previous review was on fd57054.

Commands run locally (Linux)

  • git diff --stat origin/main...HEAD: 6 files, +634 (census tool, its check, CMake/CI/AGENTS/docs wiring)
  • python3 tests/mesh_loop_census_check.py: classified 14 source-built programs; 14 mutants changed category
  • python3 tests/docs_links_check.py: 18 files, 436 links, passed
  • python3 tests/bidi_controls_check.py: 1585 files, no bidi controls
  • git diff --check origin/main...HEAD: clean
  • git merge-tree --write-tree origin/main HEAD: clean tree (no conflict)
  • gh pr checks: Linux Python checks pass; Windows jobs were still pending when I looked

Previous P2 items

  • Conflict with main in CMakeLists.txt: RESOLVED. The merge is clean and the PR is MERGEABLE.
  • Signed-branch boundary: NOT resolved. I changed >= 0x8000 to >= 0x8001 at tools/mesh_loop_census.py:93 and the check still passes (14 mutants line unchanged). No fixture covers s_branch 32768 (= -32768). Add one boundary fixture, or state that it is out of scope.

Findings

  • P1: none.
  • P2: the boundary mutation above still survives (tools/mesh_loop_census.py:93).
  • nit (unchanged): the SCC-writer filter at tools/mesh_loop_census.py:147-149 excludes by prefix (s_mov, s_mul, s_cselect, ...). A later s_mul_*/s_cselect_* variant that writes SCC would be skipped. A one-line note in docs/experiments.md would help.

I did not run Win2025: Python-only tooling, no shader or C++ change.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6055872370 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2284#pullrequestreview-6055872370). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T10:29:50Z. **Review:** COMMENTED --- Re-review of head `dc3af5382086e52eeadd64fccac5b08c1cbe1853` (tooling only, no lowering change). Previous review was on `fd57054`. **Commands run locally (Linux)** - `git diff --stat origin/main...HEAD`: 6 files, +634 (census tool, its check, CMake/CI/AGENTS/docs wiring) - `python3 tests/mesh_loop_census_check.py`: `classified 14 source-built programs; 14 mutants changed category` - `python3 tests/docs_links_check.py`: 18 files, 436 links, passed - `python3 tests/bidi_controls_check.py`: 1585 files, no bidi controls - `git diff --check origin/main...HEAD`: clean - `git merge-tree --write-tree origin/main HEAD`: clean tree (no conflict) - `gh pr checks`: Linux Python checks pass; Windows jobs were still pending when I looked **Previous P2 items** - Conflict with main in `CMakeLists.txt`: RESOLVED. The merge is clean and the PR is `MERGEABLE`. - Signed-branch boundary: NOT resolved. I changed `>= 0x8000` to `>= 0x8001` at tools/mesh_loop_census.py:93 and the check still passes (14 mutants line unchanged). No fixture covers `s_branch 32768` (= -32768). Add one boundary fixture, or state that it is out of scope. **Findings** - P1: none. - P2: the boundary mutation above still survives (tools/mesh_loop_census.py:93). - nit (unchanged): the SCC-writer filter at tools/mesh_loop_census.py:147-149 excludes by prefix (`s_mov`, `s_mul`, `s_cselect`, ...). A later `s_mul_*`/`s_cselect_*` variant that writes SCC would be skipped. A one-line note in docs/experiments.md would help. I did not run Win2025: Python-only tooling, no shader or C++ change. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-25 11:02:19 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:58:06Z.

Review: COMMENTED


Re-review of head 620439f4db563b0ba3f5935b536ff15f41e6ac62 (tooling only, no lowering change). Previous review was on dc3af53.

Commands run locally (Linux)

  • git diff dc3af53 HEAD --stat: 2 files, +4 (one boundary assert in the check, two doc lines)
  • python3 tests/mesh_loop_census_check.py: classified 14 source-built programs; 14 mutants changed category
  • python3 tests/docs_links_check.py: 18 files, 436 links, passed
  • python3 tests/bidi_controls_check.py: 1585 files, no bidi controls
  • git diff --check origin/main...HEAD: clean
  • gh pr checks: Linux Python checks, gfx1013 fixtures and Windows build/test pass; the rest are skipped jobs

Mutations on tools/mesh_loop_census.py:93 (each reverted with git checkout -- .)

  • >= 0x8000 -> >= 0x8001: now killed (AssertionError at tests/mesh_loop_census_check.py:138, s_branch 32768)
  • >= 0x8000 -> > 0x8000: killed
  • >= 0x8000 -> >= 0x7fff: killed

Previous items

  • P2 signed-branch boundary: RESOLVED. The new fixture pins s_branch 32768 -> -32768, and both off-by-one directions fail.
  • nit SCC-writer prefix filter: RESOLVED as a doc note in docs/experiments.md.
  • CMake conflict with main: stays resolved, PR is MERGEABLE.

Findings

  • P1: none.
  • P2: none.

I did not run Win2025: Python-only tooling, no shader or C++ change.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6056311192 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2284#pullrequestreview-6056311192). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T10:58:06Z. **Review:** COMMENTED --- Re-review of head `620439f4db563b0ba3f5935b536ff15f41e6ac62` (tooling only, no lowering change). Previous review was on `dc3af53`. **Commands run locally (Linux)** - `git diff dc3af53 HEAD --stat`: 2 files, +4 (one boundary assert in the check, two doc lines) - `python3 tests/mesh_loop_census_check.py`: `classified 14 source-built programs; 14 mutants changed category` - `python3 tests/docs_links_check.py`: 18 files, 436 links, passed - `python3 tests/bidi_controls_check.py`: 1585 files, no bidi controls - `git diff --check origin/main...HEAD`: clean - `gh pr checks`: Linux Python checks, gfx1013 fixtures and Windows build/test pass; the rest are skipped jobs **Mutations on tools/mesh_loop_census.py:93 (each reverted with `git checkout -- .`)** - `>= 0x8000` -> `>= 0x8001`: now killed (AssertionError at tests/mesh_loop_census_check.py:138, `s_branch 32768`) - `>= 0x8000` -> `> 0x8000`: killed - `>= 0x8000` -> `>= 0x7fff`: killed **Previous items** - P2 signed-branch boundary: RESOLVED. The new fixture pins `s_branch 32768` -> `-32768`, and both off-by-one directions fail. - nit SCC-writer prefix filter: RESOLVED as a doc note in docs/experiments.md. - CMake conflict with main: stays resolved, PR is `MERGEABLE`. **Findings** - P1: none. - P2: none. I did not run Win2025: Python-only tooling, no shader or C++ change. AI-assisted; commands listed were executed locally.
RavenCurseBurg commented 2026-11-25 11:02:29 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T10:19:08Z.


I checked the LLVM C library path on Windows x64 at fd570540, using LLVM 15.0.7's LLVM-C.dll. The disassembler printed unsigned branch operands, and after signed_branches all 14 source-built fixtures matched the Python reference instruction-for-instruction, including byte offsets.

I also ran the public CLI with the 14 synthetic mesh containers, one duplicate, one synthetic compute-stage container and a text file:

python -B tools/mesh_loop_census.py <fixture-directory> --llvm <path-to-LLVM-C.dll>

The complete Markdown matched the census from the fixture decoder (LF SHA-256 c27708083389c15d2d3884fb6e8b60af67009134e415d490174f967151654ae7). It counted 14 back-edges, 13 outermost and one nested, and classified each of the three extra inputs separately. The boundary test from the review also works against the real library: the four branch operands 32767, 32768, 32769 and 65535 normalize to 32767, −32768, −32767 and −1. That last check was external to the committed regression suite.

To build the corpus, use mesh_loop_census_check.mesh_container(bytes.fromhex(code)) for each (_, code, _) in FIXTURES.values(), repeat the counted fixture once, then add the counted fixture with stage=5 and one plain text file. All inputs came from this PR's tests.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7159530990 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2284#issuecomment-7159530990). Originally posted by [RavenCurseBurg](https://github.com/RavenCurseBurg) on 2026-11-25T10:19:08Z. --- I checked the LLVM C library path on Windows x64 at `fd570540`, using LLVM 15.0.7's `LLVM-C.dll`. The disassembler printed unsigned branch operands, and after `signed_branches` all 14 source-built fixtures matched the Python reference instruction-for-instruction, including byte offsets. I also ran the public CLI with the 14 synthetic mesh containers, one duplicate, one synthetic compute-stage container and a text file: ```text python -B tools/mesh_loop_census.py <fixture-directory> --llvm <path-to-LLVM-C.dll> ``` The complete Markdown matched the census from the fixture decoder (LF SHA-256 `c27708083389c15d2d3884fb6e8b60af67009134e415d490174f967151654ae7`). It counted 14 back-edges, 13 outermost and one nested, and classified each of the three extra inputs separately. The boundary test from the review also works against the real library: the four branch operands 32767, 32768, 32769 and 65535 normalize to 32767, −32768, −32767 and −1. That last check was external to the committed regression suite. To build the corpus, use `mesh_loop_census_check.mesh_container(bytes.fromhex(code))` for each `(_, code, _)` in `FIXTURES.values()`, repeat the counted fixture once, then add the counted fixture with `stage=5` and one plain text file. All inputs came from this PR's tests.
NiiRoZz commented 2026-11-25 11:02:34 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T10:53:35Z.


Addressed in 620439f4.

  • P2: check_branch_spelling now reads s_branch 32768 as -32768 and s_branch 32767 as 32767. The mutant >= 0x8001 at line 93 now fails the check; the restored file passes (14 programs, 14 mutants).
  • Nit: docs/experiments.md notes that the SCC-writer filter excludes by mnemonic prefix, so a later s_mul_* or s_cselect_* variant that writes SCC would be skipped.
    Commands: python -B tests/mesh_loop_census_check.py, python -B tests/docs_links_check.py, git diff --check origin/main...HEAD (clean).
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7160312365 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2284#issuecomment-7160312365). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-25T10:53:35Z. --- Addressed in `620439f4`. - P2: `check_branch_spelling` now reads `s_branch 32768` as -32768 and `s_branch 32767` as 32767. The mutant `>= 0x8001` at line 93 now fails the check; the restored file passes (14 programs, 14 mutants). - Nit: `docs/experiments.md` notes that the SCC-writer filter excludes by mnemonic prefix, so a later `s_mul_*` or `s_cselect_*` variant that writes SCC would be skipped. Commands: `python -B tests/mesh_loop_census_check.py`, `python -B tests/docs_links_check.py`, `git diff --check origin/main...HEAD` (clean).
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
R0Y00/Xbox2Windows!2276
No description provided.