Recompiler: propagate split-wave64 lane-local masks through 64-bit bitwise SALU ops #1102

Open
zondy1i wants to merge 1 commit from upstream-pr/1111 into main
zondy1i commented 2026-11-24 11:43:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by zondy1i on 2026-11-24T11:43:37Z.


��Reduces xcl_x_ballot() cross-half exchanges in split-wave64 (docs/wave64-on-wave32.md) by propagating lane-local mask liveness through 64-bit bitwise SALU ops in x64_masks.rs.

Why

  • In x64_masks.rs, v_cmp* and carry outputs (v_add_co_u32 / v_sub*_co_u32) already avoid a cross-half xcl_x_ballot() exchange (xcl_x_ballot_local()) when they feed only per-lane readers (v_cndmask_b32, v_add_co_ci_u32, v_sub*_co_ci_u32).
  • However, real wave64 compute/mesh shaders frequently combine multiple compare masks with 64-bit bitwise SALU ops (s_and_b64, s_or_b64, s_xor_b64, s_andn2_b64, s_orn2_b64, s_nand_b64, s_nor_b64, s_xnor_b64, s_not_b64, s_mov_b64, s_cselect_b64, s_cmov_b64) before feeding v_cndmask_b32 (s_wqm_b64 is excluded because it combines 4-lane quads and requires quad helper bits in pixel shaders). Previously, x64_masks treated every SALU instruction as reading its source SGPR pairs whole, forcing xcl_x_ballot() on all upstream compares even when neither the result mask nor scc was ever read whole.
  • Because xcl_x_ballot_local() leaves each 32-lane half's own word exact (low dword on half 0, high dword on half 1) and none of these 64-bit lane-wise ops crosses the 32-lane boundary, each half produces its own exact 32-lane result word without exchanging the inputs  provided:
    1. the destination pair is not whole-live afterward (EXEC is always whole-live, so writes to EXEC stay exchanged);
    2. if the op writes scc (all except s_mov_b64 / s_cmov_b64 / s_cselect_b64), scc is dead afterward (tracked jointly in the backward liveness pass, including LOOP_GUARD exits and kernel-mode end readback);
    3. destination and SGPR source operands are even-aligned 64-bit pairs (so low/high half words never cross-alias), and special scalar codes vccz (251) / execz (252) still mark VCC / EXEC whole-live.

What is in it

  • crates/xcl/src/gpu/recomp/x64_masks.rs: track scc liveness alongside whole-live SGPRs (reads_scc, conservative writes_scc matching emit.rs, lane_wise_salu64, and flow()), propagate non-whole-live masks through even-aligned 64-bit lane-wise SALU ops, update three existing tests that used a dead s_mov_b64 s[2:3], vcc as a dummy whole-reader, and add 6 unit tests covering bitwise chains, live vs overwritten scc, s_and_saveexec_b64 / EXEC writes, s_cselect_b64 / s_cmov_b64, vccz / odd alignment, and LOOP_GUARD exits reading scc.
  • crates/xcl/src/gpu/recomp/emit.rs: require n & 1 == 0 when emitting xcl_x_ballot_local into Dst::S(n) so low/high half alignment is guaranteed globally.
  • crates/xcl/src/gpu/recomp/tests.rs: add GPU test gpu_split_wave64_bitwise_lane_masks verifying both 0-exchange bitwise mask chains (s_and_b64, s_andn2_b64, s_not_b64, s_or_b64, s_mov_b64, s_cselect_b64 �! v_cndmask_b32) and kept exchanges when scc is read (s_and_b64 matching upper half only �! s_cselect_b32).

Measured impact (RTX 3060 Ti, split-wave64)

  • Across 10,490 translated wave64 compute/mesh programs from a retail shader corpus: xcl_x_ballot() calls drop from 210,324 �! 170,561 ("39,763 exchanges, "18.9%).
  • Cold DXC (cs_6_6) and NVIDIA D3D12 PSO compile benchmarks on three retail compute shaders (before 384f7f7 �! after 02d65c8):
    • Compute shader #1: xcl_x_ballot 513 �! 433 ("15.6%), DXIL 834,160 �! 803,648 B ("3.7%), DXC 23,166 �! 14,804 ms ("36.1%), cold PSO 28,780 �! 21,316 ms ("25.9%).
    • Compute shader #2: xcl_x_ballot 420 �! 370 ("11.9%), DXIL 512,592 �! 494,064 B ("3.6%), DXC 12,011 �! 8,786 ms ("26.9%), cold PSO 16,405 �! 11,792 ms ("28.1%).
    • Compute shader #3: xcl_x_ballot 135 �! 75 ("44.4%), DXIL 152,752 �! 130,920 B ("14.3%), DXC 3,455 �! 1,874 ms ("45.8%), cold PSO 4,106 �! 3,108 ms ("24.3%).

Tested

  • Hardware: NVIDIA GeForce RTX 3060 Ti 8 GB (driver 32.0.16.2101), Ryzen 5 7500F, 64 GB RAM, Windows 11 Build 26300, DXC 1.9.2609.5, Rust 1.100.0 (x86_64-pc-windows-msvc), debug + release.
  • Rebased head c29bbad (onto main 0cdc896 with #1090):
    • cargo test -p xcl --lib -- gpu::recomp::x64_masks --test-threads=1: 25 passed, 0 failed, 1 ignored (including use_plan_matches_fallback_across_all_rdna2_instructions and block_liveness_matches_reference_bit_for_bit).
    • cargo test -p xcl --lib -- gpu_split_wave64 --test-threads=1: 7 passed, 0 failed (including gpu_split_wave64_bitwise_lane_masks).
  • Earlier full-workspace run on 02d65c8: 744 passed, 0 failed, 41 ignored.

Regression run

main:

xcl-smoke v1
commit: 80f4819098e921f2e1ab371144d4832f68ffedd6
gpu: NVIDIA GeForce RTX 3060 Ti
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 1622 (PresentX 1622)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16539 MB

PR:

xcl-smoke v1
commit: c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88
gpu: NVIDIA GeForce RTX 3060 Ti
title: 3c290c16
seconds: 60
exit: 0x0
frames shown: 1528 (PresentX 1528)
presents per 2 s (last 3): 60 60 61
device removals: 0
crashes: 0
peak commit: 15821 MB

Not tested

  • AMD native wave64 GPUs (x64_masks only runs when split_wave64 is active on wave32-only GPUs or forced via XCL_SPLIT_WAVE64=1).
  • Linux / Wine.

AI use

  • Antigravity (Gemini 4 Neon): analyzed split-wave64 xcl_x_ballot consumers across the shader corpus, designed and implemented the x64_masks.rs scc + bitwise propagation pass, wrote unit/GPU tests, ran the DXC/PSO benchmarks, and drafted the PR description; all tests, benchmarks, and paired smoke runs were executed locally on the hardware above and the diff was reviewed line by line.
<!-- greyfinch-sync:ivall/xcl:issue:5471472142 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111). Originally posted by [zondy1i](https://github.com/zondy1i) on 2026-11-24T11:43:37Z. --- ��Reduces `xcl_x_ballot()` cross-half exchanges in split-wave64 (`docs/wave64-on-wave32.md`) by propagating lane-local mask liveness through 64-bit bitwise SALU ops in `x64_masks.rs`. **Why** - In `x64_masks.rs`, `v_cmp*` and carry outputs (`v_add_co_u32` / `v_sub*_co_u32`) already avoid a cross-half `xcl_x_ballot()` exchange (`xcl_x_ballot_local()`) when they feed only per-lane readers (`v_cndmask_b32`, `v_add_co_ci_u32`, `v_sub*_co_ci_u32`). - However, real wave64 compute/mesh shaders frequently combine multiple compare masks with 64-bit bitwise SALU ops (`s_and_b64`, `s_or_b64`, `s_xor_b64`, `s_andn2_b64`, `s_orn2_b64`, `s_nand_b64`, `s_nor_b64`, `s_xnor_b64`, `s_not_b64`, `s_mov_b64`, `s_cselect_b64`, `s_cmov_b64`) before feeding `v_cndmask_b32` (`s_wqm_b64` is excluded because it combines 4-lane quads and requires quad helper bits in pixel shaders). Previously, `x64_masks` treated every SALU instruction as reading its source SGPR pairs whole, forcing `xcl_x_ballot()` on all upstream compares even when neither the result mask nor `scc` was ever read whole. - Because `xcl_x_ballot_local()` leaves each 32-lane half's own word exact (low dword on half 0, high dword on half 1) and none of these 64-bit lane-wise ops crosses the 32-lane boundary, each half produces its own exact 32-lane result word without exchanging the inputs  provided: 1. the destination pair is not whole-live afterward (`EXEC` is always whole-live, so writes to `EXEC` stay exchanged); 2. if the op writes `scc` (all except `s_mov_b64` / `s_cmov_b64` / `s_cselect_b64`), `scc` is dead afterward (tracked jointly in the backward liveness pass, including `LOOP_GUARD` exits and kernel-mode end readback); 3. destination and SGPR source operands are even-aligned 64-bit pairs (so low/high half words never cross-alias), and special scalar codes `vccz` (`251`) / `execz` (`252`) still mark `VCC` / `EXEC` whole-live. **What is in it** - `crates/xcl/src/gpu/recomp/x64_masks.rs`: track `scc` liveness alongside whole-live SGPRs (`reads_scc`, conservative `writes_scc` matching `emit.rs`, `lane_wise_salu64`, and `flow()`), propagate non-whole-live masks through even-aligned 64-bit lane-wise SALU ops, update three existing tests that used a dead `s_mov_b64 s[2:3], vcc` as a dummy whole-reader, and add 6 unit tests covering bitwise chains, live vs overwritten `scc`, `s_and_saveexec_b64` / `EXEC` writes, `s_cselect_b64` / `s_cmov_b64`, `vccz` / odd alignment, and `LOOP_GUARD` exits reading `scc`. - `crates/xcl/src/gpu/recomp/emit.rs`: require `n & 1 == 0` when emitting `xcl_x_ballot_local` into `Dst::S(n)` so low/high half alignment is guaranteed globally. - `crates/xcl/src/gpu/recomp/tests.rs`: add GPU test `gpu_split_wave64_bitwise_lane_masks` verifying both 0-exchange bitwise mask chains (`s_and_b64`, `s_andn2_b64`, `s_not_b64`, `s_or_b64`, `s_mov_b64`, `s_cselect_b64` �! `v_cndmask_b32`) and kept exchanges when `scc` is read (`s_and_b64` matching upper half only �! `s_cselect_b32`). **Measured impact (RTX 3060 Ti, split-wave64)** - Across 10,490 translated wave64 compute/mesh programs from a retail shader corpus: `xcl_x_ballot()` calls drop from **210,324 �! 170,561** (**"39,763 exchanges, "18.9%**). - Cold DXC (`cs_6_6`) and NVIDIA D3D12 PSO compile benchmarks on three retail compute shaders (before `384f7f7` �! after `02d65c8`): - Compute shader #1: `xcl_x_ballot` `513 �! 433` ("15.6%), DXIL `834,160 �! 803,648 B` ("3.7%), DXC `23,166 �! 14,804 ms` (**"36.1%**), cold PSO `28,780 �! 21,316 ms` (**"25.9%**). - Compute shader #2: `xcl_x_ballot` `420 �! 370` ("11.9%), DXIL `512,592 �! 494,064 B` ("3.6%), DXC `12,011 �! 8,786 ms` (**"26.9%**), cold PSO `16,405 �! 11,792 ms` (**"28.1%**). - Compute shader #3: `xcl_x_ballot` `135 �! 75` ("44.4%), DXIL `152,752 �! 130,920 B` ("14.3%), DXC `3,455 �! 1,874 ms` (**"45.8%**), cold PSO `4,106 �! 3,108 ms` (**"24.3%**). **Tested** - Hardware: NVIDIA GeForce RTX 3060 Ti 8 GB (driver 32.0.16.2101), Ryzen 5 7500F, 64 GB RAM, Windows 11 Build 26300, DXC 1.9.2609.5, Rust 1.100.0 (`x86_64-pc-windows-msvc`), debug + release. - Rebased head `c29bbad` (onto `main` `0cdc896` with `#1090`): - `cargo test -p xcl --lib -- gpu::recomp::x64_masks --test-threads=1`: 25 passed, 0 failed, 1 ignored (including `use_plan_matches_fallback_across_all_rdna2_instructions` and `block_liveness_matches_reference_bit_for_bit`). - `cargo test -p xcl --lib -- gpu_split_wave64 --test-threads=1`: 7 passed, 0 failed (including `gpu_split_wave64_bitwise_lane_masks`). - Earlier full-workspace run on `02d65c8`: 744 passed, 0 failed, 41 ignored. **Regression run** main: ``` xcl-smoke v1 commit: 80f4819098e921f2e1ab371144d4832f68ffedd6 gpu: NVIDIA GeForce RTX 3060 Ti title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 1622 (PresentX 1622) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16539 MB ``` PR: ``` xcl-smoke v1 commit: c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88 gpu: NVIDIA GeForce RTX 3060 Ti title: 3c290c16 seconds: 60 exit: 0x0 frames shown: 1528 (PresentX 1528) presents per 2 s (last 3): 60 60 61 device removals: 0 crashes: 0 peak commit: 15821 MB ``` **Not tested** - AMD native wave64 GPUs (`x64_masks` only runs when `split_wave64` is active on wave32-only GPUs or forced via `XCL_SPLIT_WAVE64=1`). - Linux / Wine. **AI use** - Antigravity (Gemini 4 Neon): analyzed split-wave64 `xcl_x_ballot` consumers across the shader corpus, designed and implemented the `x64_masks.rs` `scc` + bitwise propagation pass, wrote unit/GPU tests, ran the DXC/PSO benchmarks, and drafted the PR description; all tests, benchmarks, and paired smoke runs were executed locally on the hardware above and the diff was reviewed line by line.
Aniseto commented 2026-11-24 12:05:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Aniseto on 2026-11-24T12:01:22Z.


Ran the mask tests on an NVIDIA Blackwell part at 02d65c8:

Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build.

XCL_ADAPTER=nvidia cargo test -p xcl --lib x64_masks -- --test-threads=1
22 passed; 0 failed; 0 ignored      (exit 0)

XCL_ADAPTER=nvidia cargo test -p xcl --lib gpu_split_wave64 -- --test-threads=1
6 passed; 0 failed; 0 ignored       (exit 0)

All six split-wave64 GPU tests pass here, including the new gpu_split_wave64_bitwise_lane_masks. This adapter has no native wave64, so every wave64 console program runs in the split form and exercises the changed path directly. The author's run was on an Ampere RTX 3060 Ti; this adds a Blackwell part with driver 32.0.16.2124.

Not tested: native wave64 (not available on this GPU), RDNA2/RDNA4 and Intel GPUs, Wine, release profile, retail titles.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash 1017 - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified.

<!-- greyfinch-sync:ivall/xcl:comment:7130853451 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1111#issuecomment-7130853451). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-24T12:01:22Z. --- Ran the mask tests on an NVIDIA Blackwell part at `02d65c8`: Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC 14.44.35207, DXC 1.9.2609.5, debug build. ``` XCL_ADAPTER=nvidia cargo test -p xcl --lib x64_masks -- --test-threads=1 22 passed; 0 failed; 0 ignored (exit 0) XCL_ADAPTER=nvidia cargo test -p xcl --lib gpu_split_wave64 -- --test-threads=1 6 passed; 0 failed; 0 ignored (exit 0) ``` All six split-wave64 GPU tests pass here, including the new `gpu_split_wave64_bitwise_lane_masks`. This adapter has no native wave64, so every wave64 console program runs in the split form and exercises the changed path directly. The author's run was on an Ampere RTX 3060 Ti; this adds a Blackwell part with driver 32.0.16.2124. Not tested: native wave64 (not available on this GPU), RDNA2/RDNA4 and Intel GPUs, Wine, release profile, retail titles. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash 1017** - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified.
bjarngard commented 2026-11-24 13:03:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bjarngard on 2026-11-24T12:45:37Z.


Test report for head 02d65c8 (AMD, native wave64)

Tested

  • AMD Radeon(TM) Graphics (Ryzen 9 9950X iGPU, RDNA2, native wave64), driver 32.0.21043.5001; Windows 11 build 26300; Rust 1.99.1 MSVC; DXC 1.9.2602.17; debug
  • XCL_ADAPTER=radeon cargo test --workspace --no-fail-fast -- --test-threads=4: 744 passed, 0 failed, 41 ignored, no SKIPPED
  • With XCL_REQUIRE_GPU=wave64: --lib x64_masks 22 passed, --lib gpu_split_wave64 6 passed

Not tested: retail titles, benchmarks, RDNA3/RDNA4.

AI use: the tests were run and this report was written by an AI agent, Claude Code (Claude Opus 5.5), on the hardware above. The numbers are copied from the actual test output.

<!-- greyfinch-sync:ivall/xcl:comment:7131881074 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1111#issuecomment-7131881074). Originally posted by [bjarngard](https://github.com/bjarngard) on 2026-11-24T12:45:37Z. --- Test report for head `02d65c8` (AMD, native wave64) **Tested** - AMD Radeon(TM) Graphics (Ryzen 9 9950X iGPU, RDNA2, native wave64), driver 32.0.21043.5001; Windows 11 build 26300; Rust 1.99.1 MSVC; DXC 1.9.2602.17; debug - `XCL_ADAPTER=radeon cargo test --workspace --no-fail-fast -- --test-threads=4`: 744 passed, 0 failed, 41 ignored, no SKIPPED - With `XCL_REQUIRE_GPU=wave64`: `--lib x64_masks` 22 passed, `--lib gpu_split_wave64` 6 passed **Not tested:** retail titles, benchmarks, RDNA3/RDNA4. **AI use:** the tests were run and this report was written by an AI agent, Claude Code (Claude Opus 5.5), on the hardware above. The numbers are copied from the actual test output.
SlopTart commented 2026-11-24 14:06:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T13:19:38Z.


Wine/RDNA3 datapoint for this fix: merged head 02d65c8 onto main 47efa2e (lane merge b97b44d) and ran the forced-split cluster (XCL_SPLIT_WAVE64=1, --test-threads=1, release) for 6 reps, against a plain-main control lane in the same session (3 reps).

Aggregate pass counts on this rig:

  • gpu_split_wave64_waves_diverge - 2/6 on your head, 0/3 control
  • gpu_split_wave64_local_and_exchanged_masks_in_diverging_waves - 1/6, control 0/3
  • gpu_split_wave64_masks_read_whole_after_partial_writes - 0/6, control 0/3
  • gpu_split_wave64_cross_half_operations - 0/6, control 0/3
  • gpu_split_wave64_lane_local_masks - 6/6 both

No cure observed on this axis: the exchange cluster from my #772 follow-up stays red, and the odd ok in waves_diverge sits inside the flake band this rig shows for that test. (Your new gpu_split_wave64_bitwise_lane_masks status line interleaves with Wine's CreateDXGIFactory2 warning in my capture, so I am not quoting a number for it; it did not error out.)

Also worth knowing: this head and #1090 both rewrite x64_masks.rs and conflict when merged together, so combined behavior is untestable until they reconcile. Full elimination list (not ACO, not a regression, timing-sensitive) is in my #772 comment.

Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile. My Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7132669794 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1111#issuecomment-7132669794). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T13:19:38Z. --- Wine/RDNA3 datapoint for this fix: merged head `02d65c8` onto main `47efa2e` (lane merge `b97b44d`) and ran the forced-split cluster (`XCL_SPLIT_WAVE64=1`, `--test-threads=1`, release) for 6 reps, against a plain-main control lane in the same session (3 reps). Aggregate pass counts on this rig: - `gpu_split_wave64_waves_diverge` - 2/6 on your head, 0/3 control - `gpu_split_wave64_local_and_exchanged_masks_in_diverging_waves` - 1/6, control 0/3 - `gpu_split_wave64_masks_read_whole_after_partial_writes` - 0/6, control 0/3 - `gpu_split_wave64_cross_half_operations` - 0/6, control 0/3 - `gpu_split_wave64_lane_local_masks` - 6/6 both No cure observed on this axis: the exchange cluster from my #772 follow-up stays red, and the odd ok in `waves_diverge` sits inside the flake band this rig shows for that test. (Your new `gpu_split_wave64_bitwise_lane_masks` status line interleaves with Wine's `CreateDXGIFactory2` warning in my capture, so I am not quoting a number for it; it did not error out.) Also worth knowing: this head and #1090 both rewrite `x64_masks.rs` and conflict when merged together, so combined behavior is untestable until they reconcile. Full elimination list (not ACO, not a regression, timing-sensitive) is in my #772 comment. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
testclanker commented 2026-11-24 14:06:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by testclanker on 2026-11-24T13:50:51Z.


Tested on NVIDIA RTX 5060 Ti (Blackwell, wave32 only, split wave64) at 02d65c8

Tested

  • RTX 5060 Ti 16 GB, driver 32.0.16.2124; Ryzen 5 5600X, 32 GB; Windows 11 Pro 26300.10075; rustc 1.100.0; DXC 1.8.2502.11 (SDK 10.0.26100.0); debug; XCL_SAMPLE_RPF and XCL_SAMPLE_DLLS set.
  • cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4: 744 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • gpu_split_wave64_bitwise_lane_masks ran (no SKIPPED line) and passes, as do the other 5 gpu_split_wave64_* tests and all x64_masks unit tests. gpu_pso_e2e on the sample pack: 7 passed.

Regression run (60 s, networking off, no input). One warm-up run of the PR build came first so that both builds started with a warm DXIL cache (exit 0x0, no removal, no crash). That run compiled 38 shaders main's cache didn't have, so the title runs code this PR changes. Then main and this PR ran back to back. Main is at 47efa2e, 9 commits past this PR's base 384f7f7; none of them touch gpu/recomp.

main:

xcl-smoke v1
commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3
gpu: NVIDIA GeForce RTX 5060 Ti
title: dumped
seconds: 60
exit: 0x0
frames shown: 1489 (PresentX 1489)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14479 MB

this PR:

xcl-smoke v1
commit: 02d65c822e3c0e175e8da9c5bc14d141bdce0ffa
gpu: NVIDIA GeForce RTX 5060 Ti
title: dumped
seconds: 60
exit: 0x0
frames shown: 1524 (PresentX 1524)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14497 MB

Frames 102 % of main, peak commit 100.1 % of main.

Not tested: native wave64 (no AMD GPU), a release-build test run, this PR merged onto current main.

AI use: Claude Code (Claude Opus 5.5) ran the builds, tests and smoke runs and wrote this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7133424748 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1111#issuecomment-7133424748). Originally posted by [testclanker](https://github.com/testclanker) on 2026-11-24T13:50:51Z. --- **Tested on NVIDIA RTX 5060 Ti (Blackwell, wave32 only, split wave64) at `02d65c8`** **Tested** - RTX 5060 Ti 16 GB, driver 32.0.16.2124; Ryzen 5 5600X, 32 GB; Windows 11 Pro 26300.10075; rustc 1.100.0; DXC 1.8.2502.11 (SDK 10.0.26100.0); debug; `XCL_SAMPLE_RPF` and `XCL_SAMPLE_DLLS` set. - `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4`: 744 passed, 0 failed, 41 ignored. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - `gpu_split_wave64_bitwise_lane_masks` ran (no SKIPPED line) and passes, as do the other 5 `gpu_split_wave64_*` tests and all `x64_masks` unit tests. `gpu_pso_e2e` on the sample pack: 7 passed. **Regression run** (60 s, networking off, no input). One warm-up run of the PR build came first so that both builds started with a warm DXIL cache (exit 0x0, no removal, no crash). That run compiled 38 shaders main's cache didn't have, so the title runs code this PR changes. Then main and this PR ran back to back. Main is at `47efa2e`, 9 commits past this PR's base `384f7f7`; none of them touch `gpu/recomp`. main: ``` xcl-smoke v1 commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3 gpu: NVIDIA GeForce RTX 5060 Ti title: dumped seconds: 60 exit: 0x0 frames shown: 1489 (PresentX 1489) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14479 MB ``` this PR: ``` xcl-smoke v1 commit: 02d65c822e3c0e175e8da9c5bc14d141bdce0ffa gpu: NVIDIA GeForce RTX 5060 Ti title: dumped seconds: 60 exit: 0x0 frames shown: 1524 (PresentX 1524) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14497 MB ``` Frames 102 % of main, peak commit 100.1 % of main. **Not tested:** native wave64 (no AMD GPU), a release-build test run, this PR merged onto current `main`. **AI use:** Claude Code (Claude Opus 5.5) ran the builds, tests and smoke runs and wrote this comment.
Cecerw commented 2026-11-24 15:05:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Cecerw on 2026-11-24T14:09:32Z.


Tested on NVIDIA Ampere (32-lane waves, split wave64): passes

Tree Passed Failed Ignored SKIPPED
Head 02d65c8 (base 384f7f7) 744 0 41 2 (no wave64)
Head merged into main 930e8b4 758 0 41 2 (no wave64)
  • RTX 3060 Ti 8 GB, driver 32.0.16.1088; i5-14600K; Windows 11 26300.9818; Rust 1.100.0, debug; DXC 1.9.2602.17
  • .\scripts\test.ps1 (cargo test --workspace -- --test-threads=4), no local changes; the merge was done locally, no conflicts
  • gpu_split_wave64_bitwise_lane_masks (runs split on this GPU) and the six mask-liveness unit tests (bitwise_mask_chain_for_selector_needs_no_exchange … loop_exit_reading_scc_keeps_exchange_inside_loop): ok
  • SKIPPED: the usual two on this adapter (gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware)

Not tested: AMD, any title (no smoke run).

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7133930835 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1111#issuecomment-7133930835). Originally posted by [Cecerw](https://github.com/Cecerw) on 2026-11-24T14:09:32Z. --- **Tested on NVIDIA Ampere (32-lane waves, split wave64): passes** | Tree | Passed | Failed | Ignored | SKIPPED | |---|---|---|---|---| | Head `02d65c8` (base `384f7f7`) | 744 | 0 | 41 | 2 (no wave64) | | Head merged into `main` `930e8b4` | 758 | 0 | 41 | 2 (no wave64) | - RTX 3060 Ti 8 GB, driver 32.0.16.1088; i5-14600K; Windows 11 26300.9818; Rust 1.100.0, debug; DXC 1.9.2602.17 - `.\scripts\test.ps1` (`cargo test --workspace -- --test-threads=4`), no local changes; the merge was done locally, no conflicts - `gpu_split_wave64_bitwise_lane_masks` (runs split on this GPU) and the six mask-liveness unit tests (`bitwise_mask_chain_for_selector_needs_no_exchange` … `loop_exit_reading_scc_keeps_exchange_inside_loop`): ok - SKIPPED: the usual two on this adapter (`gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`) **Not tested:** AMD, any title (no smoke run). **AI use:** Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
MiguelMachado-dev commented 2026-11-24 18:09:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by MiguelMachado-dev on 2026-11-24T18:06:39Z.


I'm stacking two split-wave64 changes on top of this PR. Your commit is cherry-picked onto main 9e3831e unchanged, with your authorship:

  1. #1596: EXEC is exchanged only where it is read whole (v_cmpx, even-aligned s_*_saveexec_b64 / s_*_wrexec_b64).
  2. #1597: a bitwise tree of two or more compares in one basic block exchanges once, at its last op (xcl_x_sync_mask), instead of once per compare.

Both build on your flow() / lane_op and your scc liveness. Neither changes the logic in your commit. Each of them edits some of your tests, and the reasons are in its description:

  • A: three tests used a saveexec or an EXEC write with nothing after it as the whole reader. They now read EXEC whole after the write.
  • B: gpu_split_wave64_bitwise_lane_masks part 2 now expects local compares plus one exchange at the s_and_b64.

On the retail pack (all wave64 CS / MS programs, split form, 4 windows) the exchanged mask writes go 210 324 (main) → 170 561 (this PR, the same count as in your description) → 153 728 (A) → 138 438 (B, including the 10 473 tree exchanges).

AI use: Claude Code (Claude Opus 5.5) wrote both PRs and this comment.

<!-- greyfinch-sync:ivall/xcl:comment:7140171752 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7140171752). Originally posted by [MiguelMachado-dev](https://github.com/MiguelMachado-dev) on 2026-11-24T18:06:39Z. --- I'm stacking two split-wave64 changes on top of this PR. Your commit is cherry-picked onto `main` `9e3831e` unchanged, with your authorship: 1. #1596: EXEC is exchanged only where it is read whole (`v_cmpx`, even-aligned `s_*_saveexec_b64` / `s_*_wrexec_b64`). 2. #1597: a bitwise tree of two or more compares in one basic block exchanges once, at its last op (`xcl_x_sync_mask`), instead of once per compare. Both build on your `flow()` / `lane_op` and your `scc` liveness. Neither changes the logic in your commit. Each of them edits some of your tests, and the reasons are in its description: - A: three tests used a saveexec or an EXEC write with nothing after it as the whole reader. They now read EXEC whole after the write. - B: `gpu_split_wave64_bitwise_lane_masks` part 2 now expects local compares plus one exchange at the `s_and_b64`. On the retail pack (all wave64 CS / MS programs, split form, 4 windows) the exchanged mask writes go 210 324 (`main`) → 170 561 (this PR, the same count as in your description) → 153 728 (A) → 138 438 (B, including the 10 473 tree exchanges). AI use: Claude Code (Claude Opus 5.5) wrote both PRs and this comment.
raylitebull commented 2026-11-25 01:11:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T01:08:31Z.


Both AMD (RDNA2 iGPU + RDNA3 Wine) and NVIDIA (RTX 5070 Ti, RTX 5060 Ti, RTX 3060 Ti) test reports look solid on 02d65c8.

Remaining before merge: #1090 just merged into main with basic-block liveness in crates/xcl/src/gpu/recomp/x64_masks.rs, so please rebase #1111 onto main (folding flow() / scc liveness onto the block solver) and let Build and test (Windows, no GPU) run cleanly.

<!-- greyfinch-sync:ivall/xcl:comment:7149247232 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7149247232). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T01:08:31Z. --- Both AMD (RDNA2 iGPU + RDNA3 Wine) and NVIDIA (RTX 5070 Ti, RTX 5060 Ti, RTX 3060 Ti) test reports look solid on `02d65c8`. **Remaining before merge:** `#1090` just merged into `main` with basic-block liveness in `crates/xcl/src/gpu/recomp/x64_masks.rs`, so please rebase `#1111` onto `main` (folding `flow()` / `scc` liveness onto the block solver) and let `Build and test (Windows, no GPU)` run cleanly.
zondy1i commented 2026-11-25 02:08:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by zondy1i on 2026-11-25T01:24:18Z.


Rebased onto main (0cdc896) at c29bbad, folding InstFlow / scc liveness onto #1090's precomputed UsePlanTable and basic-block liveness solver (blocks without lane-wise 64-bit SALU ops stay O(1) per iteration; blocks with lane-wise ops recompute only when (out, sout, left, sleft) changes). Also excluded S_WQM_B64 from lane_wise_salu64 since x64_masks is now shared with pixel shaders (ballot_px_local), where 4-lane quad WQM still needs quad helper bits.

Verified locally on RTX 3060 Ti:

  • gpu::recomp::x64_masks: 25/25 passed (including use_plan_matches_fallback_across_all_rdna2_instructions and block_liveness_matches_reference_bit_for_bit).
  • gpu_split_wave64: 7/7 passed (including gpu_split_wave64_bitwise_lane_masks).
  • Updated the 60 s smoke block in the PR description for c29bbad.

(AI use: Antigravity (Gemini 4 Neon) performed the rebase onto #1090, ran the tests/smoke, and drafted this reply.)

<!-- greyfinch-sync:ivall/xcl:comment:7149510064 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7149510064). Originally posted by [zondy1i](https://github.com/zondy1i) on 2026-11-25T01:24:18Z. --- Rebased onto `main` (`0cdc896`) at `c29bbad`, folding `InstFlow` / `scc` liveness onto `#1090`'s precomputed `UsePlanTable` and basic-block liveness solver (blocks without lane-wise 64-bit SALU ops stay O(1) per iteration; blocks with lane-wise ops recompute only when `(out, sout, left, sleft)` changes). Also excluded `S_WQM_B64` from `lane_wise_salu64` since `x64_masks` is now shared with pixel shaders (`ballot_px_local`), where 4-lane quad WQM still needs quad helper bits. Verified locally on RTX 3060 Ti: - `gpu::recomp::x64_masks`: 25/25 passed (including `use_plan_matches_fallback_across_all_rdna2_instructions` and `block_liveness_matches_reference_bit_for_bit`). - `gpu_split_wave64`: 7/7 passed (including `gpu_split_wave64_bitwise_lane_masks`). - Updated the 60 s smoke block in the PR description for `c29bbad`. *(AI use: Antigravity (Gemini 4 Neon) performed the rebase onto `#1090`, ran the tests/smoke, and drafted this reply.)*
raylitebull commented 2026-11-25 02:08:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by raylitebull on 2026-11-25T01:34:41Z.


Rebased head c29bbad cleanly folds InstFlow/scc liveness onto #1090's UsePlanTable and basic-block solver, excludes S_WQM_B64 from lane_wise_salu64, and passes Build and test (Windows, no GPU) + PR description (UsePlanTable / block-reference tests + gpu_split_wave64_bitwise_lane_masks on RTX 3060 Ti).

Remaining before merge: one independent AMD (or second-vendor) verification pass on c29bbad confirming the rebased #1090 integration before merging.

<!-- greyfinch-sync:ivall/xcl:comment:7149707978 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7149707978). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T01:34:41Z. --- Rebased head `c29bbad` cleanly folds `InstFlow`/`scc` liveness onto `#1090`'s `UsePlanTable` and basic-block solver, excludes `S_WQM_B64` from `lane_wise_salu64`, and passes `Build and test (Windows, no GPU)` + `PR description` (`UsePlanTable` / block-reference tests + `gpu_split_wave64_bitwise_lane_masks` on RTX 3060 Ti). **Remaining before merge:** one independent **AMD** (or second-vendor) verification pass on `c29bbad` confirming the rebased `#1090` integration before merging.
DavidM1911 commented 2026-11-25 09:08:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T08:21:46Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7156931795 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7156931795). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T08:21:46Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Raghav314 commented 2026-11-25 18:04:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Raghav314 on 2026-11-25T18:00:30Z.


Test report for #1111 in the direct DXIL path, whose kernel uses the same x64_masks analysis (gpu/dxil/kernel.rs:595, x64_masks::by_pc): the driver's cold build of a split-wave64 program is about 9 % shorter.

Setup: RTX 4090 24 GB (617.14), Windows 11, Developer Mode on, release. main 68a284a with this PR at c29bbad merged (no conflicts), plus #1830's --time-forms for the timing. --time-forms --idx <record> --split 1 --windows 4 --heap --no-hlsl: direct DXIL, split wave64, heap windows; one cold CreateComputePipelineState per process, with the driver's three implicit caches off (ShaderCacheControl).

program tree DXIL driver build
062468c09af883b9 (wave64, split) main 1,387,708 B 19.9 / 20.0 / 20.0 s
+ #1111 1,337,976 B (−3.6 %) 17.9 / 18.3 s
76b0a8c7541c6c91 (no half exchanges) + #1111 unchanged, 636,668 B 4.8 s
  • The spread on main was under 0.2 s over three processes, so the 1.7–2.1 s is outside it.
  • For scale: @Kalmarv's upper bound on #2088 for the same program with no exchange at all (non-heap form) was 47.5 → 20.2 s, so most of the exchange cost is still there after this PR.
  • @MiguelMachado-dev, #1596 and #1597 on top of it conflict with current main in x64_masks.rs (12 hunks across four files, main has rewritten the file since), so I could not time them. After a rebase I can run the same three on this program.

Not tested: GPU output of the merged tree (no suite run; timing only), AMD, the HLSL path, a title run.

AI use: Claude Code (Claude Opus 5.5) merged the PR, ran the timings and wrote this for @Raghav314.

<!-- greyfinch-sync:ivall/xcl:comment:7170307881 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7170307881). Originally posted by [Raghav314](https://github.com/Raghav314) on 2026-11-25T18:00:30Z. --- Test report for #1111 in the **direct DXIL** path, whose kernel uses the same `x64_masks` analysis (`gpu/dxil/kernel.rs:595`, `x64_masks::by_pc`): **the driver's cold build of a split-wave64 program is about 9 % shorter.** **Setup:** RTX 4090 24 GB (617.14), Windows 11, Developer Mode on, release. `main` `68a284a` with this PR at `c29bbad` merged (no conflicts), plus #1830's `--time-forms` for the timing. `--time-forms --idx <record> --split 1 --windows 4 --heap --no-hlsl`: direct DXIL, split wave64, heap windows; one cold `CreateComputePipelineState` per process, with the driver's three implicit caches off (`ShaderCacheControl`). | program | tree | DXIL | driver build | |---|---|---:|---| | `062468c09af883b9` (wave64, split) | `main` | 1,387,708 B | 19.9 / 20.0 / 20.0 s | | | + #1111 | 1,337,976 B (−3.6 %) | **17.9 / 18.3 s** | | `76b0a8c7541c6c91` (no half exchanges) | + #1111 | unchanged, 636,668 B | 4.8 s | - The spread on `main` was under 0.2 s over three processes, so the 1.7–2.1 s is outside it. - For scale: @Kalmarv's upper bound on #2088 for the same program with no exchange at all (non-heap form) was 47.5 → 20.2 s, so most of the exchange cost is still there after this PR. - @MiguelMachado-dev, #1596 and #1597 on top of it conflict with current `main` in `x64_masks.rs` (12 hunks across four files, `main` has rewritten the file since), so I could not time them. After a rebase I can run the same three on this program. **Not tested:** GPU output of the merged tree (no suite run; timing only), AMD, the HLSL path, a title run. AI use: Claude Code (Claude Opus 5.5) merged the PR, ran the timings and wrote this for @Raghav314.
JJAutoCompare commented 2026-11-26 22:49:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-26T22:49:19Z.


Tested

Independent run at clean PR head c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88 on Intel Arc A770 (driver 32.0.101.9175), Ryzen 7 3800X, Windows 11 x64 26200.9974, Rust/Cargo 1.100.0 MSVC, DXC/DXIL 1.9.2609.5, debug test profile.

Prebuilt with cargo test --locked -p xcl --lib --no-run --message-format=json outside the GPU mutex. Ran <test-exe> gpu::recomp::tests::gpu_split_wave64_bitwise_lane_masks --exact --nocapture --test-threads=1 under the Arc mutex with XCL_ADAPTER=A770.

1 passed, 0 failed, 0 ignored and 0 GPU skips (1.86 s). HLSL/DXC split wave64 matched all lane-local results with three local ballots and no cross-half exchanges. The live-SCC case retained two cross-half exchanges and returned s1 = 77, with both halves’ saved scalar registers in agreement.

Not tested

Native wave64, direct DXIL, the workspace suite and retail smoke.

AI use

T3 Code / Codex (gpt-6.2-sol) ran the original verification and summarized the saved results.

<!-- greyfinch-sync:ivall/xcl:comment:7205013813 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7205013813). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-26T22:49:19Z. --- **Tested** Independent run at clean PR head `c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88` on Intel Arc A770 (driver 32.0.101.9175), Ryzen 7 3800X, Windows 11 x64 26200.9974, Rust/Cargo 1.100.0 MSVC, DXC/DXIL 1.9.2609.5, debug test profile. Prebuilt with `cargo test --locked -p xcl --lib --no-run --message-format=json` outside the GPU mutex. Ran `<test-exe> gpu::recomp::tests::gpu_split_wave64_bitwise_lane_masks --exact --nocapture --test-threads=1` under the Arc mutex with `XCL_ADAPTER=A770`. 1 passed, 0 failed, 0 ignored and 0 GPU skips (1.86 s). HLSL/DXC split wave64 matched all lane-local results with three local ballots and no cross-half exchanges. The live-SCC case retained two cross-half exchanges and returned `s1 = 77`, with both halves’ saved scalar registers in agreement. **Not tested** Native wave64, direct DXIL, the workspace suite and retail smoke. **AI use** T3 Code / Codex (gpt-6.2-sol) ran the original verification and summarized the saved results.
thehollowedone commented 2026-11-26 23:09:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-26T23:09:32Z.


Independent NVIDIA test of #1111 at clean head c29bbad8. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti / driver 621.35, Rust 1.99.1 MSVC, DXC 1.8.2502.11.

  • cargo test --offline --locked -p xcl --lib gpu::recomp::x64_masks -- --test-threads=1: 25 passed, 0 failed, 1 ignored (a manual benchmark), 0 GPU skips.
  • cargo test --offline --locked -p xcl --lib gpu_split_wave64 -- --test-threads=1: 7 passed, 0 failed, 0 ignored, 0 GPU skips. This includes gpu_split_wave64_bitwise_lane_masks on the RTX 3080 Ti.
  • cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4: 1,092 passed, 0 failed, 46 ignored across 20 targets. The log has 23 SKIPPED GPU notices; those are not coverage. The synthetic title e2e test passed.

For the workspace run, XCL_DXIL_CACHE pointed to fresh writable scratch under target; no XCL_SAMPLE_* variables were set. I did not run an AMD card, a retail title, or a matched smoke pair, and did not measure compilation time or frame rate.

AI use: Codex (GPT-6.2 Sol) selected the current-head test scope, ran and checked these commands, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7205303949 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7205303949). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-26T23:09:32Z. --- Independent NVIDIA test of [#1111 at clean head `c29bbad8`](https://github.com/xcl-dev/xcl/commit/c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88). Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti / driver 621.35, Rust 1.99.1 MSVC, DXC 1.8.2502.11. - `cargo test --offline --locked -p xcl --lib gpu::recomp::x64_masks -- --test-threads=1`: 25 passed, 0 failed, 1 ignored (a manual benchmark), 0 GPU skips. - `cargo test --offline --locked -p xcl --lib gpu_split_wave64 -- --test-threads=1`: 7 passed, 0 failed, 0 ignored, 0 GPU skips. This includes `gpu_split_wave64_bitwise_lane_masks` on the RTX 3080 Ti. - `cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4`: 1,092 passed, 0 failed, 46 ignored across 20 targets. The log has 23 `SKIPPED` GPU notices; those are not coverage. The synthetic title e2e test passed. For the workspace run, `XCL_DXIL_CACHE` pointed to fresh writable scratch under `target`; no `XCL_SAMPLE_*` variables were set. I did not run an AMD card, a retail title, or a matched smoke pair, and did not measure compilation time or frame rate. AI use: Codex (GPT-6.2 Sol) selected the current-head test scope, ran and checked these commands, and drafted this report.
futurepro62 commented 2026-11-27 06:08:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-27T06:08:34Z.


NVIDIA and AMD full-suite run, to go with the reports above by JJAutoCompare, thehollowedone, since none of them covers AMD. Tested exact head c29bbad8 (on its base 0cdc896).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace --no-fail-fast -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1081 passed, 0 failed, 44 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • The new tests ran and passed: gpu_split_wave64_bitwise_lane_masks, bitwise_mask_chain_for_selector_needs_no_exchange, bitwise_mask_with_live_scc_keeps_exchange, bitwise_mask_feeding_whole_read_keeps_exchange, cselect_and_cmov_b64_propagate_lane_masks_and_keep_scc_uniform, vccz_operand_and_odd_alignment_in_bitwise_ops_keep_exchange, loop_exit_reading_scc_keeps_exchange_inside_loop.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1091 passed, 0 failed, 46 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main c2ee10e4 too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7211254056 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7211254056). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-27T06:08:34Z. --- NVIDIA and AMD full-suite run, to go with the reports above by JJAutoCompare, thehollowedone, since none of them covers AMD. Tested exact head `c29bbad8` (on its base `0cdc896`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace --no-fail-fast -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **1081 passed, 0 failed, 44 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - The new tests ran and passed: `gpu_split_wave64_bitwise_lane_masks`, `bitwise_mask_chain_for_selector_needs_no_exchange`, `bitwise_mask_with_live_scc_keeps_exchange`, `bitwise_mask_feeding_whole_read_keeps_exchange`, `cselect_and_cmov_b64_propagate_lane_masks_and_keep_scc_uniform`, `vccz_operand_and_odd_alignment_in_bitwise_ops_keep_exchange`, `loop_exit_reading_scc_keeps_exchange_inside_loop`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **1091 passed, 0 failed, 46 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `c2ee10e4` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
thehollowedone commented 2026-11-28 11:21:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T11:21:37Z.


merge-check
base: e429936c10
head: c29bbad8ca
merge: clean
build: cargo build --offline --locked -j 4 --workspace -> ok
tests: cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4 -> 2,132 passed, 10 failed, 48 ignored, 25 GPU skip notices. The same command on clean base -> 2,125 passed, 10 failed, 48 ignored, 25 GPU skip notices. All ten failing test names match the base; the added split-wave64 GPU test ran and passed on the RTX 3080 Ti.
review: No merge blocker found in the merged emitter, mask-liveness analysis, and GPU tests. The new analysis keeps whole-mask exchanges for live scc, whole readers, EXEC writes, and operations needing quad helper bits. A potential odd-aligned 64-bit selector was checked against RDNA2's even-alignment requirement and is not a valid input case.
performance: The patch changes one-time shader analysis and generated cross-half exchanges; it adds no per-frame allocation or submission in the inspected runtime path. I did not measure translation time, frame time, or memory on this machine. The author's DXC/PSO measurements are in the PR description.
verdict: safe to merge. This check finds no failure introduced on the current base; the ten local failures are identical on clean main. Maintainers should still account for the project's required gates and their own merge decision.
hardware / tool and model: Windows 11 build 26300; Ryzen 7 9800X3D; NVIDIA RTX 3080 Ti, driver 621.35; rustc 1.99.1 MSVC; Codex (GPT-6.2 Sol) ran the merge, build and both full suites and reviewed the result; Codex (GPT-6.2 Astra) independently audited the mask edge.

Identical failures on merged PR and clean main
  • dispatch_chain_oversized_loop_matches_whole
  • dispatch_chain_wave32_live_loops
  • dispatch_chain_wave64_live_loops_and_exchange
  • gpu_heap_flat_reads_match_guarded_and_root_output
  • console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk
  • gpu_compute_mode_dispatch_abi
  • gpu_float_cas_uses_ieee_equality
  • test_title_draws_with_a_root_signature_under_the_debug_layer
  • test_title_runs_and_game_folder_is_untouched
  • test_title_runs_under_the_debug_layer_with_dred
<!-- greyfinch-sync:ivall/xcl:comment:7238499373 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7238499373). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-28T11:21:37Z. --- merge-check base: e429936c10a5b8aa09470ff99dfc8c8d3d8c56fd head: c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88 merge: clean build: `cargo build --offline --locked -j 4 --workspace` -> ok tests: `cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4` -> 2,132 passed, 10 failed, 48 ignored, 25 GPU skip notices. The same command on clean base -> 2,125 passed, 10 failed, 48 ignored, 25 GPU skip notices. All ten failing test names match the base; the added split-wave64 GPU test ran and passed on the RTX 3080 Ti. review: No merge blocker found in the merged emitter, mask-liveness analysis, and GPU tests. The new analysis keeps whole-mask exchanges for live `scc`, whole readers, EXEC writes, and operations needing quad helper bits. A potential odd-aligned 64-bit selector was checked against [RDNA2's even-alignment requirement](https://www.amd.com/content/dam/amd/en/documents/radeon-tech-docs/instruction-set-architectures/rdna2-shader-instruction-set-architecture.pdf) and is not a valid input case. performance: The patch changes one-time shader analysis and generated cross-half exchanges; it adds no per-frame allocation or submission in the inspected runtime path. I did not measure translation time, frame time, or memory on this machine. The author's DXC/PSO measurements are in the PR description. verdict: safe to merge. This check finds no failure introduced on the current base; the ten local failures are identical on clean main. Maintainers should still account for the project's required gates and their own merge decision. hardware / tool and model: Windows 11 build 26300; Ryzen 7 9800X3D; NVIDIA RTX 3080 Ti, driver 621.35; rustc 1.99.1 MSVC; Codex (GPT-6.2 Sol) ran the merge, build and both full suites and reviewed the result; Codex (GPT-6.2 Astra) independently audited the mask edge. <details><summary>Identical failures on merged PR and clean main</summary> - `dispatch_chain_oversized_loop_matches_whole` - `dispatch_chain_wave32_live_loops` - `dispatch_chain_wave64_live_loops_and_exchange` - `gpu_heap_flat_reads_match_guarded_and_root_output` - `console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk` - `gpu_compute_mode_dispatch_abi` - `gpu_float_cas_uses_ieee_equality` - `test_title_draws_with_a_root_signature_under_the_debug_layer` - `test_title_runs_and_game_folder_is_untouched` - `test_title_runs_under_the_debug_layer_with_dred` </details>
fromthemoonx commented 2026-11-28 22:02:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-28T22:02:59Z.


merge-check
base: 7db2f391ce
head: c29bbad8ca
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2600 passed, 1 failed, 49 ignored; SKIPPED: 28 (mostly "no wave64", plus "no heap windows", "no GPU_UPLOAD heaps", "no build ahead"); failing: hle::d3d12x::list_x::tests::cross_queue_wait64_before_signal_does_not_deadlock_submit_thread (E_OUTOFMEMORY 0x8007000E in the parallel run, in a module this PR does not touch; passes 3/3 alone on the merged tree and 3/3 on the base)
review: none blocking, after reading the whole diff (x64_masks.rs, the n & 1 == 0 check in emit.rs, the tests). The analysis stays conservative. writes_scc_name only under-reports scc writers, which keeps scc live longer, and reads_scc_* over-reports readers. A lane-wise op's sources become whole-live when its destination is live or its written scc is live. EXEC is always in the live-out set, so an op that writes EXEC keeps its sources exchanged. Odd-aligned, SDWA or non-64-bit operands, and vccz/execz reads, fall back to whole reads. Checked on this card (split wave64, wave32 only): gpu_split_wave64_bitwise_lane_masks and gpu::recomp::x64_masks:: (26 tests) pass 3/3, and the GPU test ran (not SKIPPED). With the sets_scc && sout term disabled in all four solvers (scratch), gpu_split_wave64_bitwise_lane_masks, bitwise_mask_with_live_scc_keeps_exchange and cselect_and_cmov_b64_propagate_lane_masks_and_keep_scc_uniform fail. Not run: a title, native wave64 (AMD), pixel shaders on a GPU (the same analysis drives ballot_px_local).
performance: default path. Fewer ballot exchanges in split-wave64 programs whose bitwise SALU mask chains only feed per-lane reads, so less work per such shader. The liveness pass does a little more work at translation (exact per-instruction transfer only in blocks with a lane-wise op). Reasoned, not measured.
verdict: safe to merge
hardware / tool and model: RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug / Claude Code (Claude Opus 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7246459335 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7246459335). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-11-28T22:02:59Z. --- merge-check base: 7db2f391cefd748d47c7de63d50dd43ebb852185 head: c29bbad8cafbbfddbb72bb32e93a7e3165aa5d88 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2600 passed, 1 failed, 49 ignored; SKIPPED: 28 (mostly "no wave64", plus "no heap windows", "no GPU_UPLOAD heaps", "no build ahead"); failing: `hle::d3d12x::list_x::tests::cross_queue_wait64_before_signal_does_not_deadlock_submit_thread` (E_OUTOFMEMORY 0x8007000E in the parallel run, in a module this PR does not touch; passes 3/3 alone on the merged tree and 3/3 on the base) review: none blocking, after reading the whole diff (`x64_masks.rs`, the `n & 1 == 0` check in `emit.rs`, the tests). The analysis stays conservative. `writes_scc_name` only under-reports `scc` writers, which keeps `scc` live longer, and `reads_scc_*` over-reports readers. A lane-wise op's sources become whole-live when its destination is live or its written `scc` is live. EXEC is always in the live-out set, so an op that writes EXEC keeps its sources exchanged. Odd-aligned, SDWA or non-64-bit operands, and `vccz`/`execz` reads, fall back to whole reads. Checked on this card (split wave64, wave32 only): `gpu_split_wave64_bitwise_lane_masks` and `gpu::recomp::x64_masks::` (26 tests) pass 3/3, and the GPU test ran (not SKIPPED). With the `sets_scc && sout` term disabled in all four solvers (scratch), `gpu_split_wave64_bitwise_lane_masks`, `bitwise_mask_with_live_scc_keeps_exchange` and `cselect_and_cmov_b64_propagate_lane_masks_and_keep_scc_uniform` fail. Not run: a title, native wave64 (AMD), pixel shaders on a GPU (the same analysis drives `ballot_px_local`). performance: default path. Fewer ballot exchanges in split-wave64 programs whose bitwise SALU mask chains only feed per-lane reads, so less work per such shader. The liveness pass does a little more work at translation (exact per-instruction transfer only in blocks with a lane-wise op). Reasoned, not measured. verdict: safe to merge hardware / tool and model: RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.100.0 MSVC, debug / Claude Code (Claude Opus 5.5)
throny commented 2026-11-29 23:06:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-29T23:06:19Z.


@zondy1i this has two merge checks at c29bbad8, but it conflicts with main since today's merges (mergeable: CONFLICTING), and the PR description check is red. Once it is rebased I can run the merge check again on the new head.

For anyone working near it: this changes the HLSL split-wave64 form (recomp/emit.rs, x64_masks.rs). The folded wave64 form I am building for C57 on #3011 is in the direct DXIL translator (gpu/dxil) and does not touch these files, so the two do not conflict.

AI use: Claude Code (Claude Opus 5.5) wrote this.

<!-- greyfinch-sync:ivall/xcl:comment:7264199086 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7264199086). Originally posted by [throny](https://github.com/throny) on 2026-11-29T23:06:19Z. --- @zondy1i this has two merge checks at `c29bbad8`, but it conflicts with `main` since today's merges (`mergeable: CONFLICTING`), and the `PR description` check is red. Once it is rebased I can run the merge check again on the new head. For anyone working near it: this changes the HLSL split-wave64 form (`recomp/emit.rs`, `x64_masks.rs`). The folded wave64 form I am building for C57 on #3011 is in the direct DXIL translator (`gpu/dxil`) and does not touch these files, so the two do not conflict. AI use: Claude Code (Claude Opus 5.5) wrote this.
Foniass commented 2026-12-01 04:50:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:50:37Z.


Triage (#1607) – head c29bbad

#1596 and #1597 share many added lines with this PR because both are stacked on it: each carries a cherry-pick of this PR's commit (ce0eeec) and adds its own top commit. They are not duplicates.
Main's x64_masks.rs (block-level liveness from #1090, 76ae8962) has no lane-wise SALU propagation or SCC liveness, so the change is not on main. The branch conflicts with those main commits.
I did not see a problem in the diff. Each half's own dword stays correct through the bitwise b64 ops, s_wqm_b64 is left out, odd pairs and vccz/execz force a whole read, and an op whose scc is live keeps its sources whole.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7301158420 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1111#issuecomment-7301158420). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:50:37Z. --- **Triage (#1607)** – head c29bbad #1596 and #1597 share many added lines with this PR because both are stacked on it: each carries a cherry-pick of this PR's commit (ce0eeec) and adds its own top commit. They are not duplicates. Main's x64_masks.rs (block-level liveness from #1090, 76ae8962) has no lane-wise SALU propagation or SCC liveness, so the change is not on main. The branch conflicts with those main commits. I did not see a problem in the diff. Each half's own dword stays correct through the bitwise b64 ops, `s_wqm_b64` is left out, odd pairs and vccz/execz force a whole read, and an op whose `scc` is live keeps its sources whole. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1111:upstream-pr/1111'
git switch 'upstream-pr/1111'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1111'
git switch 'upstream-pr/1111'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1111'
git switch 'upstream-pr/1111'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1111'
git switch 'main'
git merge --squash 'upstream-pr/1111'
git switch 'main'
git merge --ff-only 'upstream-pr/1111'
git switch 'main'
git merge 'upstream-pr/1111'
git push origin 'main'
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
xcl-dev/xcl!1102
No description provided.