Recompiler tests: GPU coverage for v_permlane16_b32 and v_permlanex16_b32 FI/BC flags #965

Closed
certified-retart wants to merge 1 commit from upstream-pr/971 into main
certified-retart commented 2026-11-24 09:43:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by certified-retart on 2026-11-24T09:43:33Z.


Adds GPU execution coverage for v_permlane16_b32 (previously untested on GPU) and v_permlanex16_b32 across all four (FI, BC) (OP_SEL[1:0]) flag combinations and partial EXEC masks, verified against RDNA2 (gfx1036) hardware in native wave64. Test-only: nothing outside crates/xcl/src/gpu/recomp/tests.rs changes.

What is in it

  • crates/xcl/src/gpu/recomp/tests.rs (gpu_permlane16_and_permlanex16_fi_bc_and_exec):
    • Runs under EXEC = 0x5555_5555 / 0x5555_5555_5555_5555 in wave32, native wave64 (on wave64-capable GPUs), and split wave64.
    • Selector A (sel[i] = 15 - i, reading inactive odd lanes) tests all four (FI, BC) combinations (OP_SEL = 0, 1, 2, 3) for both v_permlane16_b32 and v_permlanex16_b32: FI=0, BC=0 preserves vdst; FI=0, BC=1 writes 0; FI=1, BC=0 and FI=1, BC=1 fetch the inactive source lane (FI overrides BC).
    • Selector B (sel[i] = (i + 2) & 15, reading active even lanes) checks same-row (v_permlane16_b32) vs swapped-row (v_permlanex16_b32) reads within each 32-lane half across both SRC1 (lanes 0..7) and SRC2 (lanes 8..15).
    • Verifies inactive destination lanes leave all 10 output VGPRs (v10..=v19) untouched.

Hardware reference & negative control

  • Confirmed all 8 (instruction, op_sel) cases (0x377 / 0x378, op_sel = 0..3) directly on AMD Radeon(TM) Graphics (gfx1036, Ryzen 7 9800X3D iGPU, driver 32.0.21030.2001, AMD OpenCL 2.1 AMD-APP (3652.0) with -cl-std=CL2.0 -Wf,-mwavefrontsize64) under EXEC = 0x5555_5555_5555_5555: the translated expectations match hardware on all 64 lanes.
  • Negative control (local edit to emit.rs, reverted): swapping fi and bound in emit.rs failed the new test immediately (wave32 split=false lane 0: permlane16 FI=1 BC=0: left: 0, right: 1015).

Tested

  • Host: AMD Ryzen 7 9800X3D, Windows 10 Pro build 19045, rustc 1.100.0 (0ef1bc386 2026-11-09), DXC 1.9.2602.17, debug build, Agility SDK v620 (XCL_D3D12_DIR).
  • AMD Radeon(TM) Graphics (gfx1036 RDNA2 iGPU, driver 32.0.21030.2001, native wave64, XCL_ADAPTER=1):
    • cargo test -p xcl --lib gpu::recomp::tests -- --test-threads=1 --nocapture: 118 passed, 0 failed, 17 ignored; 0 SKIPPED (gpu_permlane16_and_permlanex16_fi_bc_and_exec ran wave32, native wave64, and split wave64).
  • NVIDIA GeForce RTX 5070 (driver 32.0.16.1074, wave32, XCL_ADAPTER=0):
    • cargo test --workspace -- --test-threads=1 --nocapture: 717 passed, 0 failed, 41 ignored (gpu_permlane16_and_permlanex16_fi_bc_and_exec ran wave32 and split wave64).
    • SKIPPED on RTX 5070 / this host: gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware (no wave64), test_title_draws_with_a_root_signature_under_the_debug_layer (no d3d12SDKLayers.dll), uploads_start_from_each_subresources_state (no D3D12 debug).

Regression run
Not needed: this PR modifies only crates/xcl/src/gpu/recomp/tests.rs and does not change the runtime.

Not tested

  • Pixel shaders (helper lanes), Intel GPUs, Wine / vkd3d-proton, release profile, or retail titles.

AI use

  • Antigravity (gemini-4-neon) wrote and ran the RDNA2 OpenCL probe, wrote the GPU test and this description, and ran the test suites and negative control on both GPUs named above.
<!-- greyfinch-sync:ivall/xcl:issue:5469740575 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971). Originally posted by [certified-retart](https://github.com/certified-retart) on 2026-11-24T09:43:33Z. --- Adds GPU execution coverage for `v_permlane16_b32` (previously untested on GPU) and `v_permlanex16_b32` across all four `(FI, BC)` (`OP_SEL[1:0]`) flag combinations and partial `EXEC` masks, verified against RDNA2 (`gfx1036`) hardware in native wave64. Test-only: nothing outside `crates/xcl/src/gpu/recomp/tests.rs` changes. **What is in it** - `crates/xcl/src/gpu/recomp/tests.rs` (`gpu_permlane16_and_permlanex16_fi_bc_and_exec`): - Runs under `EXEC = 0x5555_5555` / `0x5555_5555_5555_5555` in wave32, native wave64 (on wave64-capable GPUs), and split wave64. - Selector A (`sel[i] = 15 - i`, reading inactive odd lanes) tests all four `(FI, BC)` combinations (`OP_SEL = 0, 1, 2, 3`) for both `v_permlane16_b32` and `v_permlanex16_b32`: `FI=0, BC=0` preserves `vdst`; `FI=0, BC=1` writes `0`; `FI=1, BC=0` and `FI=1, BC=1` fetch the inactive source lane (`FI` overrides `BC`). - Selector B (`sel[i] = (i + 2) & 15`, reading active even lanes) checks same-row (`v_permlane16_b32`) vs swapped-row (`v_permlanex16_b32`) reads within each 32-lane half across both `SRC1` (lanes `0..7`) and `SRC2` (lanes `8..15`). - Verifies inactive destination lanes leave all 10 output VGPRs (`v10..=v19`) untouched. **Hardware reference & negative control** - Confirmed all 8 `(instruction, op_sel)` cases (`0x377` / `0x378`, `op_sel = 0..3`) directly on AMD Radeon(TM) Graphics (`gfx1036`, Ryzen 7 9800X3D iGPU, driver `32.0.21030.2001`, AMD OpenCL `2.1 AMD-APP (3652.0)` with `-cl-std=CL2.0 -Wf,-mwavefrontsize64`) under `EXEC = 0x5555_5555_5555_5555`: the translated expectations match hardware on all 64 lanes. - Negative control (local edit to `emit.rs`, reverted): swapping `fi` and `bound` in `emit.rs` failed the new test immediately (`wave32 split=false lane 0: permlane16 FI=1 BC=0: left: 0, right: 1015`). **Tested** - Host: AMD Ryzen 7 9800X3D, Windows 10 Pro build 19045, `rustc 1.100.0 (0ef1bc386 2026-11-09)`, DXC `1.9.2602.17`, debug build, Agility SDK v620 (`XCL_D3D12_DIR`). - AMD Radeon(TM) Graphics (`gfx1036` RDNA2 iGPU, driver `32.0.21030.2001`, native wave64, `XCL_ADAPTER=1`): - `cargo test -p xcl --lib gpu::recomp::tests -- --test-threads=1 --nocapture`: 118 passed, 0 failed, 17 ignored; 0 `SKIPPED` (`gpu_permlane16_and_permlanex16_fi_bc_and_exec` ran wave32, native wave64, and split wave64). - NVIDIA GeForce RTX 5070 (driver `32.0.16.1074`, wave32, `XCL_ADAPTER=0`): - `cargo test --workspace -- --test-threads=1 --nocapture`: 717 passed, 0 failed, 41 ignored (`gpu_permlane16_and_permlanex16_fi_bc_and_exec` ran wave32 and split wave64). - `SKIPPED` on RTX 5070 / this host: `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask` (`no wave64`), `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware` (`no wave64`), `test_title_draws_with_a_root_signature_under_the_debug_layer` (`no d3d12SDKLayers.dll`), `uploads_start_from_each_subresources_state` (`no D3D12 debug`). **Regression run** Not needed: this PR modifies only `crates/xcl/src/gpu/recomp/tests.rs` and does not change the runtime. **Not tested** - Pixel shaders (helper lanes), Intel GPUs, Wine / vkd3d-proton, release profile, or retail titles. **AI use** - Antigravity (`gemini-4-neon`) wrote and ran the RDNA2 OpenCL probe, wrote the GPU test and this description, and ran the test suites and negative control on both GPUs named above.
Aniseto commented 2026-11-24 11:05:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Aniseto on 2026-11-24T10:16:33Z.


Ran the new test on an NVIDIA Blackwell part at 7cc5661 (wave32 only, so the wave32 and split-wave64 forms; no native wave64 here).

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 gpu_permlane16_and_permlanex16_fi_bc_and_exec
1 passed; 0 failed; 0 ignored      (exit 0)

All four (FI, BC) modes under the partial EXEC mask match the expected RDNA2 values here. This is a second Blackwell part and driver line beyond the author's RTX 5070 run, on Windows 11 build 26200.

Not tested: native wave64, pixel shaders / helper lanes, 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 test binary, wrote this report; the worktree was not modified.

<!-- greyfinch-sync:ivall/xcl:comment:7128554831 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/971#issuecomment-7128554831). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-24T10:16:33Z. --- Ran the new test on an NVIDIA Blackwell part at `7cc5661` (wave32 only, so the wave32 and split-wave64 forms; no native wave64 here). 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 gpu_permlane16_and_permlanex16_fi_bc_and_exec 1 passed; 0 failed; 0 ignored (exit 0) ``` All four (FI, BC) modes under the partial EXEC mask match the expected RDNA2 values here. This is a second Blackwell part and driver line beyond the author's RTX 5070 run, on Windows 11 build 26200. Not tested: native wave64, pixel shaders / helper lanes, 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 test binary, wrote this report; the worktree was not modified.
DavidM1911 commented 2026-11-24 13:03:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T12:24:31Z.


Independent verification, merged onto current main 384f7f7 locally (clean merge).

Machine: Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11.

  • cargo test -p xcl --lib permlane: 1 passed, 0 failed — the new GPU test gpu_permlane16_and_permlanex16_fi_bc_and_exec covers the FI/BC flag combinations of v_permlane16_b32/v_permlanex16_b32 on real hardware.

AI use: test runs by Devin (Cognition, SWE-2); no code changes.

<!-- greyfinch-sync:ivall/xcl:comment:7131396480 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/971#issuecomment-7131396480). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T12:24:31Z. --- Independent verification, merged onto current `main` `384f7f7` locally (clean merge). **Machine:** Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11. - `cargo test -p xcl --lib permlane`: **1 passed, 0 failed** — the new GPU test `gpu_permlane16_and_permlanex16_fi_bc_and_exec` covers the FI/BC flag combinations of `v_permlane16_b32`/`v_permlanex16_b32` on real hardware. AI use: test runs by Devin (Cognition, SWE-2); no code changes.
luckyteagirl commented 2026-11-25 04:10:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T03:27:52Z.


Tested

  • Exact PR head 7cc566135b1f70cb6f04a929835ed871a3478177 on Windows 11 build 26200, AMD Radeon RX 6800M (driver 30.0.13002.13003), Ryzen 9 5980HX, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. XCL_ADAPTER=6800M and XCL_REQUIRE_GPU=1 were set.
  • cargo test --locked -p xcl --lib -j 2 gpu::recomp::tests::gpu_permlane16_and_permlanex16_fi_bc_and_exec -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed, 0 ignored, no explicit skip. Repeated with XCL_DIRECT_DXIL=0 and =1; both invocations passed.
  • The test itself calls translate(...), compiles t.hlsl with DXC, then runs that shader on the GPU. Therefore the environment change did not exercise the direct DXIL translator; these are two runs of the HLSL route. The test covers FI/BC combinations, partial EXEC, active and inactive source lanes, and wave32 plus split wave64. Native wave64 is conditional on adapter support and was not separately instrumented in this run.

Not tested

  • The direct DXIL translator, full GPU or workspace suite, another GPU, or a retail title. This PR changes tests only.

AI use

OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact test and logs, ran both GPU invocations, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7151937754 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7151937754). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-25T03:27:52Z. --- **Tested** - Exact PR head `7cc566135b1f70cb6f04a929835ed871a3478177` on Windows 11 build 26200, AMD Radeon RX 6800M (driver `30.0.13002.13003`), Ryzen 9 5980HX, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. `XCL_ADAPTER=6800M` and `XCL_REQUIRE_GPU=1` were set. - `cargo test --locked -p xcl --lib -j 2 gpu::recomp::tests::gpu_permlane16_and_permlanex16_fi_bc_and_exec -- --exact --test-threads=1 --nocapture`: **1 passed, 0 failed, 0 ignored**, no explicit skip. Repeated with `XCL_DIRECT_DXIL=0` and `=1`; both invocations passed. - The test itself calls `translate(...)`, compiles `t.hlsl` with DXC, then runs that shader on the GPU. Therefore the environment change did **not** exercise the direct DXIL translator; these are two runs of the HLSL route. The test covers FI/BC combinations, partial EXEC, active and inactive source lanes, and wave32 plus split wave64. Native wave64 is conditional on adapter support and was not separately instrumented in this run. **Not tested** - The direct DXIL translator, full GPU or workspace suite, another GPU, or a retail title. This PR changes tests only. **AI use** OpenAI Codex (GPT-6, exact variant not exposed in this session) reviewed the exact test and logs, ran both GPU invocations, and drafted this report.
JJAutoCompare commented 2026-11-25 04:10:41 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T03:51:34Z.


Arc A770 verification for xcl-dev/xcl PR #971

Tested

  • GitHub showed the PR open at 7cc566135b1f70cb6f04a929835ed871a3478177 before and after the run. The worktree was clean and detached at that SHA both times. The PR description and discussion contained AMD and NVIDIA results and no equivalent Arc report. Read upstream AGENTS.md and CONTRIBUTING.md at cbc296ab65a2661a61e3e2da109134bcd5319f60.
  • STOR-WINLAB, Windows 11 Enterprise Evaluation x64 build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175. Rust 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc), Cargo 1.100.0, unoptimized test profile. The test logged DXC and DXIL 1.9.2609.5.
  • cargo test --locked -p xcl --lib --no-run succeeded outside the Arc mutex. CARGO_TARGET_DIR=L:/XclTooling/pr1778-2e2ee55-20261125-020159/target, CARGO_BUILD_JOBS=2, CARGO_INCREMENTAL=0, CARGO_PROFILE_DEV_DEBUG=0, CARGO_PROFILE_TEST_DEBUG=0. TEMP and TMP pointed to the temp directory beside this report. XCL_ADAPTER=A770 and XCL_DXC_DIR=$env:LOCALAPPDATA/XclTooling/dxc-1.9.2609/bin/x64 were set.
  • Ran the exact prebuilt fixture with the command below. 1 passed, 0 failed, 0 ignored, 0 explicit SKIPPED lines, 696 filtered out. Test runner time was 0.27 s. The wrapper returned exit 0 and logged mutex release.
$command = @'
$ProgressPreference = 'SilentlyContinue'
& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { & 'L:\XclTooling\pr1778-2e2ee55-20261125-020159\target\debug\build\xcl\77aca8ccb20e299f\out\xcl-77aca8ccb20e299f.exe' 'gpu::recomp::tests::gpu_permlane16_and_permlanex16_fi_bc_and_exec' --exact --nocapture --test-threads=1 }
'@
$encoded = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($command))
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -OutputFormat Text -EncodedCommand $encoded
  • The fixture translated both instructions to HLSL, compiled cs_6_6 with DXC, and checked 960 VGPR values across wave32 and split wave64. Partial EXEC (0x5555_5555 / 0x5555_5555_5555_5555) enabled even lanes and left all ten destination registers (v10..=v19) at their sentinels on odd lanes.
  • With selector 15 - i, active lanes addressed inactive sources for both v_permlane16_b32 and v_permlanex16_b32. (FI, BC) = (0, 0) preserved the destination, (1, 0) fetched the inactive source, (0, 1) wrote zero, and (1, 1) fetched the inactive source. Selector (i + 2) & 15 exercised active source reads with (0, 0) through both selector words (SRC1 and SRC2), checking same-row reads and swapped-row reads within each 32-lane half.
  • Native wave64 was omitted by the fixture's capability condition and emits no explicit skip line. The earlier same-host D3D12 capability log for the Arc reports WaveLaneCountMin=8 and WaveLaneCountMax=32 (L:/XclTooling/pr1577/wave-capability-20261125-033726.log).

Not tested

Native wave64, direct DXIL translation, pixel-shader helper lanes, other adapters, release builds, the wider test suite, and retail-title smoke.

AI use

T3 Code / Codex (gpt-6.2-sol) verified the revision, ran the checked-in fixture, and wrote this report from the logs.

Separate build and GPU stdout/stderr logs and the GPU exit record are in this run directory.

<!-- greyfinch-sync:ivall/xcl:comment:7152306804 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7152306804). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:51:34Z. --- # Arc A770 verification for xcl-dev/xcl PR #971 **Tested** - GitHub showed the PR open at `7cc566135b1f70cb6f04a929835ed871a3478177` before and after the run. The worktree was clean and detached at that SHA both times. The PR description and discussion contained AMD and NVIDIA results and no equivalent Arc report. Read upstream `AGENTS.md` and `CONTRIBUTING.md` at `cbc296ab65a2661a61e3e2da109134bcd5319f60`. - STOR-WINLAB, Windows 11 Enterprise Evaluation x64 build `26200.9974`, AMD Ryzen 7 3800X, Intel Arc A770 driver `32.0.101.9175`. Rust `1.100.0` (`0ef1bc386`, `x86_64-pc-windows-msvc`), Cargo `1.100.0`, unoptimized test profile. The test logged DXC and DXIL `1.9.2609.5`. - `cargo test --locked -p xcl --lib --no-run` succeeded outside the Arc mutex. `CARGO_TARGET_DIR=L:/XclTooling/pr1778-2e2ee55-20261125-020159/target`, `CARGO_BUILD_JOBS=2`, `CARGO_INCREMENTAL=0`, `CARGO_PROFILE_DEV_DEBUG=0`, `CARGO_PROFILE_TEST_DEBUG=0`. `TEMP` and `TMP` pointed to the `temp` directory beside this report. `XCL_ADAPTER=A770` and `XCL_DXC_DIR=$env:LOCALAPPDATA/XclTooling/dxc-1.9.2609/bin/x64` were set. - Ran the exact prebuilt fixture with the command below. **1 passed, 0 failed, 0 ignored, 0 explicit `SKIPPED` lines**, 696 filtered out. Test runner time was 0.27 s. The wrapper returned exit 0 and logged mutex release. ```powershell $command = @' $ProgressPreference = 'SilentlyContinue' & 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { & 'L:\XclTooling\pr1778-2e2ee55-20261125-020159\target\debug\build\xcl\77aca8ccb20e299f\out\xcl-77aca8ccb20e299f.exe' 'gpu::recomp::tests::gpu_permlane16_and_permlanex16_fi_bc_and_exec' --exact --nocapture --test-threads=1 } '@ $encoded = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($command)) powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -OutputFormat Text -EncodedCommand $encoded ``` - The fixture translated both instructions to HLSL, compiled `cs_6_6` with DXC, and checked 960 VGPR values across wave32 and split wave64. Partial `EXEC` (`0x5555_5555` / `0x5555_5555_5555_5555`) enabled even lanes and left all ten destination registers (`v10..=v19`) at their sentinels on odd lanes. - With selector `15 - i`, active lanes addressed inactive sources for both `v_permlane16_b32` and `v_permlanex16_b32`. `(FI, BC) = (0, 0)` preserved the destination, `(1, 0)` fetched the inactive source, `(0, 1)` wrote zero, and `(1, 1)` fetched the inactive source. Selector `(i + 2) & 15` exercised active source reads with `(0, 0)` through both selector words (`SRC1` and `SRC2`), checking same-row reads and swapped-row reads within each 32-lane half. - Native wave64 was omitted by the fixture's capability condition and emits no explicit skip line. The earlier same-host D3D12 capability log for the Arc reports `WaveLaneCountMin=8` and `WaveLaneCountMax=32` (`L:/XclTooling/pr1577/wave-capability-20261125-033726.log`). **Not tested** Native wave64, direct DXIL translation, pixel-shader helper lanes, other adapters, release builds, the wider test suite, and retail-title smoke. **AI use** T3 Code / Codex (`gpt-6.2-sol`) verified the revision, ran the checked-in fixture, and wrote this report from the logs. Separate build and GPU stdout/stderr logs and the GPU exit record are in this run directory.
DavidM1911 commented 2026-11-26 04:07:37 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T03:23:27Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7181676702 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7181676702). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T03:23:27Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
throny commented 2026-11-28 02:30:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T02:30:42Z.


merge-check claim
head: 7cc566135b

<!-- greyfinch-sync:ivall/xcl:comment:7232410687 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7232410687). Originally posted by [throny](https://github.com/throny) on 2026-11-28T02:30:42Z. --- merge-check claim head: 7cc566135b1f70cb6f04a929835ed871a3478177
throny commented 2026-11-28 02:45:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T02:45:23Z.


merge-check
base: 753e8b1a
head: 7cc566135b
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1513 passed, 0 failed, 47 ignored; its GPU test ran and passed on this wave32-only card (26 SKIPPED lines); base alone: 1512 passed, 0 failed, 47 ignored
review: none; test-only. The expected values follow the instructions' definitions (the selector nibbles, the row swap of the cross-row form, fetch-inactive and bound-control cases) and agree with the existing permlane test on main, which it partly overlaps; it adds the fetch-inactive and bound-control cases, the cross-row form across the modes, and split wave64.
performance: none.
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).

<!-- greyfinch-sync:ivall/xcl:comment:7232573264 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7232573264). Originally posted by [throny](https://github.com/throny) on 2026-11-28T02:45:23Z. --- merge-check base: 753e8b1a head: 7cc566135b1f70cb6f04a929835ed871a3478177 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1513 passed, 0 failed, 47 ignored; its GPU test ran and passed on this wave32-only card (26 SKIPPED lines); base alone: 1512 passed, 0 failed, 47 ignored review: none; test-only. The expected values follow the instructions' definitions (the selector nibbles, the row swap of the cross-row form, fetch-inactive and bound-control cases) and agree with the existing permlane test on main, which it partly overlaps; it adds the fetch-inactive and bound-control cases, the cross-row form across the modes, and split wave64. performance: none. verdict: safe to merge hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
KOLESNiii commented 2026-11-28 11:38:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-28T11:38:15Z.


merge-check claim
head: 7cc566135b

<!-- greyfinch-sync:ivall/xcl:comment:7238682964 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7238682964). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-28T11:38:15Z. --- merge-check claim head: 7cc566135b1f70cb6f04a929835ed871a3478177
KOLESNiii commented 2026-11-28 12:04:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-28T12:04:47Z.


merge-check
base: e429936c10
head: 7cc566135b
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2127 passed, 9 failed, 48 ignored, 25 SKIPPED: 21 no wave64, 3 per-lane f16/f32 forms refused (#1426 semantics), 1 no heap windows; failing: gpu::dxil::module::split::tests::dispatch_chain_oversized_loop_matches_whole, gpu::dxil::module::split::tests::dispatch_chain_wave32_live_loops, gpu::dxil::module::split::tests::dispatch_chain_wave64_live_loops_and_exchange, gpu::recomp::heap_window_tests::gpu_heap_flat_reads_match_guarded_and_root_output, gpu::recomp::tests::gpu_compute_mode_dispatch_abi, gpu::recomp::tests::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: these 9 fail on the base too (the base e429936c's suite, run alone on this PC with the same command: 2126 passed, 9 failed, 48 ignored, 25 SKIPPED, these same 9 failing), and each also failed when rerun alone on this merge (the two debug-layer e2e tests stop on the D3D12 debug layer rejecting a pixel shader as corrupt or unsigned, and test_title_runs_and_game_folder_is_untouched on the test title's console command list memory-methods check, "post-Wait32/64 write failed"); not caused by this PR. The suite ran on this PC at the same time as 3 other PRs' suites, in one queued job.
review: none. Whole diff read (one GPU test in recomp/tests.rs: v_permlane16_b32 / v_permlanex16_b32 in all four FI / BC modes under EXEC 0x5555..., with selectors that hit inactive and active source lanes, on wave32, native wave64 where supported, and split wave64). The expected lane arithmetic (same row, swapped row, 15 - i and (i + 2) & 15) checks out. Native wave64 is not available here, so that case did not run.
performance: no runtime change (test-only diff).
verdict: safe to merge
hardware / tool and model: Windows 11 build 26300.9974, NVIDIA GeForce RTX 2070 SUPER 8 GB (driver 621.40, wave32 only), AMD Ryzen 5 3600XT; rustc 1.100.1 (20ddd0171 2026-11-25) x86_64-pc-windows-msvc, debug test profile; trial merge 9f8ce341302d4f563ee9eac79fe369614f4fc43f (local, not pushed). Claude Code: Claude Opus 5.5 (coordination, full-diff review, draft).
correction (2026-11-28): the base counts above were first given as 2128 passed: that base run reused this PC's merge test binary (one cargo target dir for both sides). The base was rerun with its own target dir; the same 9 tests fail on it, so the classification and the verdict stand.

<!-- greyfinch-sync:ivall/xcl:comment:7238978568 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7238978568). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-28T12:04:47Z. --- merge-check base: e429936c10a5b8aa09470ff99dfc8c8d3d8c56fd head: 7cc566135b1f70cb6f04a929835ed871a3478177 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2127 passed, 9 failed, 48 ignored, 25 SKIPPED: 21 no wave64, 3 per-lane f16/f32 forms refused (#1426 semantics), 1 no heap windows; failing: gpu::dxil::module::split::tests::dispatch_chain_oversized_loop_matches_whole, gpu::dxil::module::split::tests::dispatch_chain_wave32_live_loops, gpu::dxil::module::split::tests::dispatch_chain_wave64_live_loops_and_exchange, gpu::recomp::heap_window_tests::gpu_heap_flat_reads_match_guarded_and_root_output, gpu::recomp::tests::gpu_compute_mode_dispatch_abi, gpu::recomp::tests::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: these 9 fail on the base too (the base e429936c's suite, run alone on this PC with the same command: 2126 passed, 9 failed, 48 ignored, 25 SKIPPED, these same 9 failing), and each also failed when rerun alone on this merge (the two debug-layer e2e tests stop on the D3D12 debug layer rejecting a pixel shader as corrupt or unsigned, and test_title_runs_and_game_folder_is_untouched on the test title's console command list memory-methods check, "post-Wait32/64 write failed"); not caused by this PR. The suite ran on this PC at the same time as 3 other PRs' suites, in one queued job. review: none. Whole diff read (one GPU test in recomp/tests.rs: v_permlane16_b32 / v_permlanex16_b32 in all four FI / BC modes under EXEC 0x5555..., with selectors that hit inactive and active source lanes, on wave32, native wave64 where supported, and split wave64). The expected lane arithmetic (same row, swapped row, 15 - i and (i + 2) & 15) checks out. Native wave64 is not available here, so that case did not run. performance: no runtime change (test-only diff). verdict: safe to merge hardware / tool and model: Windows 11 build 26300.9974, NVIDIA GeForce RTX 2070 SUPER 8 GB (driver 621.40, wave32 only), AMD Ryzen 5 3600XT; rustc 1.100.1 (20ddd0171 2026-11-25) x86_64-pc-windows-msvc, debug test profile; trial merge 9f8ce341302d4f563ee9eac79fe369614f4fc43f (local, not pushed). Claude Code: Claude Opus 5.5 (coordination, full-diff review, draft). correction (2026-11-28): the base counts above were first given as 2128 passed: that base run reused this PC's merge test binary (one cargo target dir for both sides). The base was rerun with its own target dir; the same 9 tests fail on it, so the classification and the verdict stand.
Foniass commented 2026-12-01 04:33:50 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 7cc5661

Overlap: #478 (crates/xcl/tests/gpu_recomp_permlane.rs) runs the same check, v_permlane16_b32 / v_permlanex16_b32 with all four OP_SEL (FI, BC) values under a divergent EXEC. It compares against the same ISA rule: FI or an active source gives the value, otherwise BC gives 0, otherwise vdst is unchanged. It also covers row permutations, VDST==SRC0 aliasing and wave32@hw64. #478 was opened first and has no conflicts. This PR conflicts with main in recomp/tests.rs.
The expected values in this test are consistent with #478's.
Recommendation: close (duplicate of #478).

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:7300860495 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7300860495). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:33:50Z. --- **Triage (#1607)** – head 7cc5661 Overlap: #478 (`crates/xcl/tests/gpu_recomp_permlane.rs`) runs the same check, `v_permlane16_b32` / `v_permlanex16_b32` with all four `OP_SEL` (FI, BC) values under a divergent EXEC. It compares against the same ISA rule: FI or an active source gives the value, otherwise BC gives 0, otherwise vdst is unchanged. It also covers row permutations, VDST==SRC0 aliasing and wave32@hw64. #478 was opened first and has no conflicts. This PR conflicts with main in `recomp/tests.rs`. The expected values in this test are consistent with #478's. Recommendation: close (duplicate of #478). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
throny commented 2026-12-01 15:57:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T15:57:00Z.


Closing as superseded: the same change is in #478 (open, mergeable, required checks green). From Foniass's rechecked close list on #1607, checked again by script just now. If something here is still missing, say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7316784874 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/971#issuecomment-7316784874). Originally posted by [throny](https://github.com/throny) on 2026-12-01T15:57:00Z. --- Closing as superseded: the same change is in #478 (open, mergeable, required checks green). From Foniass's rechecked close list on #1607, checked again by script just now. If something here is still missing, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5).

Pull request closed

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!965
No description provided.