Tests: verify direct DXIL vs HLSL GPU parity for VALU carries, compares, and modifiers #2079

Open
ramon-victor wants to merge 1 commit from upstream-pr/2089 into main
ramon-victor commented 2026-11-25 03:39:50 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ramon-victor on 2026-11-25T03:39:50Z.


Add GPU differential parity tests between the direct RDNA2 → DXIL translator (xcl::gpu::dxil::kernel::translate, validated with dxil.dll) and the HLSL + DXC path (xcl::gpu::recomp) for lower_valu.rs carry/borrow chains, integer clamp, V_CMP/V_CMPX predicates, VOP3 source/output modifiers + V_CNDMASK_B32, and VALU conversions across wave32 and wave64 (split wave64 on wave32-only GPUs). Test-only change; no runtime files modified.

What is in it

  • crates/xcl/tests/gpu_dxil_valu_exec_parity.rs:
    • direct_dxil_valu_carries_borrows_and_int_clamp_parity: chained 64-bit V_ADD_CO_U32/V_ADD_CO_CI_U32, V_SUB_CO_U32/V_SUB_CO_CI_U32, V_SUBREV_CO_U32/V_SUBREV_CO_CI_U32, and clamped V_ADD_NC_U32/I32, V_SUB_NC_U32/I32, V_SUBREV_NC_U32 under partial EXEC (verifying inactive lanes keep destination sentinels and write 0 to carry/borrow SDST).
    • direct_dxil_valu_compares_and_vcmpx_vcc_preservation_parity: f32 ordered/unordered compares on NaN/±0/±inf with ABS/NEG, 64-bit u64/i64 compares, and V_CMPX_LT_I32 narrowing EXEC while leaving VCC untouched.
    • direct_dxil_valu_vop3_modifiers_and_cndmask_parity: VOP3 ABS, NEG, OMOD (*2, *4, /2) before CLAMP on V_ADD_F32/V_MUL_F32/V_FMA_F32/V_MIN_F32/V_MAX_F32, V_CNDMASK_B32 with SGPR mask, and V_CVT_F16_F32 OMOD + OP_SEL high-half write preserving the low half.
    • direct_dxil_valu_conversions_and_pack_parity: V_CVT_FLR_I32_F32, V_CVT_RPI_I32_F32, V_CVT_{I,U}32_F32, V_CVT_F32_{I,U}32, V_CVT_F32_UBYTE0..3, V_CVT_F32_F16 (OP_SEL low/high), and V_CVT_PK_{I,U}16_{I,U}32.

Tested

  • Hardware: NVIDIA GeForce RTX 3070 (8 GiB, driver 621.24, wave32), AMD Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.99.0 (x86_64-pc-windows-msvc), DXC 1.8.2502.11 (Windows SDK 10.0.26100.0), debug build.
  • cargo test -p xcl --test gpu_dxil_valu_exec_parity -- --nocapture: 4 passed, 0 failed, 0 ignored (0 SKIPPED; each test ran both wave32 and split wave64 through both Direct DXIL and HLSL+DXC).
  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4) on head 6e8291d: 1158 passed, 0 failed, 46 ignored (24 SKIPPED GPU tests: 20 no wave64, 3 per-lane form #1426, 1 no heap windows).

Not tested

  • Native 64-lane hardware wave64 (AMD RDNA2/3/4) — RTX 3070 only supports 32-lane waves, so wave64 ran in split-wave64 mode.
  • Release build and retail game titles (test-only PR, no runtime changes).

AI use

  • Antigravity (Google DeepMind; Gemini frontier model — exact minor version not exposed to the agent): wrote the integration test file, ran the full test suite on the RTX 3070, and drafted this PR description.
<!-- greyfinch-sync:ivall/xcl:issue:5484716631 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089). Originally posted by [ramon-victor](https://github.com/ramon-victor) on 2026-11-25T03:39:50Z. --- Add GPU differential parity tests between the direct RDNA2 → DXIL translator (`xcl::gpu::dxil::kernel::translate`, validated with `dxil.dll`) and the HLSL + DXC path (`xcl::gpu::recomp`) for `lower_valu.rs` carry/borrow chains, integer clamp, `V_CMP`/`V_CMPX` predicates, VOP3 source/output modifiers + `V_CNDMASK_B32`, and VALU conversions across wave32 and wave64 (split wave64 on wave32-only GPUs). Test-only change; no runtime files modified. **What is in it** - `crates/xcl/tests/gpu_dxil_valu_exec_parity.rs`: - `direct_dxil_valu_carries_borrows_and_int_clamp_parity`: chained 64-bit `V_ADD_CO_U32`/`V_ADD_CO_CI_U32`, `V_SUB_CO_U32`/`V_SUB_CO_CI_U32`, `V_SUBREV_CO_U32`/`V_SUBREV_CO_CI_U32`, and clamped `V_ADD_NC_U32/I32`, `V_SUB_NC_U32/I32`, `V_SUBREV_NC_U32` under partial `EXEC` (verifying inactive lanes keep destination sentinels and write `0` to carry/borrow `SDST`). - `direct_dxil_valu_compares_and_vcmpx_vcc_preservation_parity`: `f32` ordered/unordered compares on `NaN`/`±0`/`±inf` with `ABS`/`NEG`, 64-bit `u64`/`i64` compares, and `V_CMPX_LT_I32` narrowing `EXEC` while leaving `VCC` untouched. - `direct_dxil_valu_vop3_modifiers_and_cndmask_parity`: VOP3 `ABS`, `NEG`, `OMOD` (`*2`, `*4`, `/2`) before `CLAMP` on `V_ADD_F32`/`V_MUL_F32`/`V_FMA_F32`/`V_MIN_F32`/`V_MAX_F32`, `V_CNDMASK_B32` with SGPR mask, and `V_CVT_F16_F32` `OMOD` + `OP_SEL` high-half write preserving the low half. - `direct_dxil_valu_conversions_and_pack_parity`: `V_CVT_FLR_I32_F32`, `V_CVT_RPI_I32_F32`, `V_CVT_{I,U}32_F32`, `V_CVT_F32_{I,U}32`, `V_CVT_F32_UBYTE0..3`, `V_CVT_F32_F16` (`OP_SEL` low/high), and `V_CVT_PK_{I,U}16_{I,U}32`. **Tested** - Hardware: NVIDIA GeForce RTX 3070 (8 GiB, driver 621.24, wave32), AMD Ryzen 7 5700X, Windows 11 Pro 26300, Rust 1.99.0 (`x86_64-pc-windows-msvc`), DXC 1.8.2502.11 (Windows SDK 10.0.26100.0), debug build. - `cargo test -p xcl --test gpu_dxil_valu_exec_parity -- --nocapture`: 4 passed, 0 failed, 0 ignored (0 SKIPPED; each test ran both wave32 and split wave64 through both Direct DXIL and HLSL+DXC). - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`) on head `6e8291d`: 1158 passed, 0 failed, 46 ignored (24 SKIPPED GPU tests: 20 `no wave64`, 3 `per-lane form` `#1426`, 1 `no heap windows`). **Not tested** - Native 64-lane hardware wave64 (AMD RDNA2/3/4) — RTX 3070 only supports 32-lane waves, so wave64 ran in split-wave64 mode. - Release build and retail game titles (test-only PR, no runtime changes). **AI use** - Antigravity (Google DeepMind; Gemini frontier model — exact minor version not exposed to the agent): wrote the integration test file, ran the full test suite on the RTX 3070, and drafted this PR description.
JJAutoCompare commented 2026-11-25 04:10:40 +00:00 (Migrated from github.com)

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


Arc A770 verification for XCL PR #2089

Tested on 2026-11-25 at the open PR head 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2 in a clean detached worktree on STOR-WINLAB. The live PR had zero conversation comments, inline comments, and review submissions before and after the run.

Tested

  • Windows 11 Enterprise Evaluation 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175. Rust 1.100.0 (x86_64-pc-windows-msvc), Cargo 1.100.0, unoptimized test profile with debug info disabled. The fixture logs identify dxcompiler and DXIL 1.9.2609.5.
  • Built outside the Arc mutex with cargo test --locked -p xcl --no-run --test gpu_dxil_valu_exec_parity (exit 0). CARGO_TARGET_DIR=L:/XclTooling/pr2014-1c971de6/target, CARGO_BUILD_JOBS=2, CARGO_INCREMENTAL=0, CARGO_PROFILE_DEV_DEBUG=0, CARGO_PROFILE_TEST_DEBUG=0.
  • Ran the executable below with the two exact commands, using & 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { ... } in Windows PowerShell with -NoProfile -ExecutionPolicy RemoteSigned. XCL_ADAPTER=A770, XCL_DXC_DIR=%LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64, TEMP=TMP=L:/XclTooling/pr2089.
$exe = 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/cbaf442bf6866029/out/gpu_dxil_valu_exec_parity-cbaf442bf6866029.exe'
& $exe --exact direct_dxil_valu_vop3_modifiers_and_cndmask_parity --nocapture --test-threads=1
& $exe --exact direct_dxil_valu_conversions_and_pack_parity --nocapture --test-threads=1
  • Modifiers and CNDMASK passed in 0.80 s. Conversions and packing passed in 0.49 s. Each filter ran one test and exited 0. Total 2 passed, 0 failed, 0 ignored, 0 explicit skips.
  • Under the same lock, L:/XclTooling/CapabilityProbe/capabilities.exe queried D3D12 options and reported Intel Arc A770 (PCI 8086:56A0), WaveOps=1, and wave lane range 8–32. This capability result and the checked-in gpu_modes() loop establish that both passing fixtures dispatched direct DXIL and HLSL+DXC in native wave32 (false,false) and split wave64 (true,true). The fixture harness emits no per-mode line on success.
  • Separate stdout and stderr logs are in L:/XclTooling/pr2089. The Arc mutex was released at 04:48:00 CET. The assigned Cargo target slot is available for reuse.

Not tested

Carry/borrow and clamp, compares and VCMPX, other fixtures, the workspace suite, native hardware wave64, other adapters, release builds, and retail titles.

AI use

T3 Code / Codex gpt-6.2-sol ran the two checked-in fixtures, inspected the logs and branch selection, and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7152267658 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7152267658). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:49:00Z. --- # Arc A770 verification for XCL PR #2089 Tested on 2026-11-25 at the open PR head `6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2` in a clean detached worktree on STOR-WINLAB. The live PR had zero conversation comments, inline comments, and review submissions before and after the run. ## Tested - Windows 11 Enterprise Evaluation 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175. Rust 1.100.0 (`x86_64-pc-windows-msvc`), Cargo 1.100.0, unoptimized test profile with debug info disabled. The fixture logs identify dxcompiler and DXIL 1.9.2609.5. - Built outside the Arc mutex with `cargo test --locked -p xcl --no-run --test gpu_dxil_valu_exec_parity` (exit 0). `CARGO_TARGET_DIR=L:/XclTooling/pr2014-1c971de6/target`, `CARGO_BUILD_JOBS=2`, `CARGO_INCREMENTAL=0`, `CARGO_PROFILE_DEV_DEBUG=0`, `CARGO_PROFILE_TEST_DEBUG=0`. - Ran the executable below with the two exact commands, using `& 'L:/XclTooling/Invoke-ArcTest.ps1' -Test { ... }` in Windows PowerShell with `-NoProfile -ExecutionPolicy RemoteSigned`. `XCL_ADAPTER=A770`, `XCL_DXC_DIR=%LOCALAPPDATA%/XclTooling/dxc-1.9.2609/bin/x64`, `TEMP=TMP=L:/XclTooling/pr2089`. ```powershell $exe = 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/cbaf442bf6866029/out/gpu_dxil_valu_exec_parity-cbaf442bf6866029.exe' & $exe --exact direct_dxil_valu_vop3_modifiers_and_cndmask_parity --nocapture --test-threads=1 & $exe --exact direct_dxil_valu_conversions_and_pack_parity --nocapture --test-threads=1 ``` - Modifiers and CNDMASK passed in 0.80 s. Conversions and packing passed in 0.49 s. Each filter ran one test and exited 0. Total 2 passed, 0 failed, 0 ignored, 0 explicit skips. - Under the same lock, `L:/XclTooling/CapabilityProbe/capabilities.exe` queried D3D12 options and reported Intel Arc A770 (PCI 8086:56A0), `WaveOps=1`, and wave lane range 8–32. This capability result and the checked-in `gpu_modes()` loop establish that both passing fixtures dispatched direct DXIL and HLSL+DXC in native wave32 (`false,false`) and split wave64 (`true,true`). The fixture harness emits no per-mode line on success. - Separate stdout and stderr logs are in `L:/XclTooling/pr2089`. The Arc mutex was released at 04:48:00 CET. The assigned Cargo target slot is available for reuse. ## Not tested Carry/borrow and clamp, compares and VCMPX, other fixtures, the workspace suite, native hardware wave64, other adapters, release builds, and retail titles. ## AI use T3 Code / Codex gpt-6.2-sol ran the two checked-in fixtures, inspected the logs and branch selection, and wrote this report.
DarkPanda69 commented 2026-11-25 04:10:41 +00:00 (Migrated from github.com)

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


Native 64-lane wave64 run on AMD, which this PR lists as not tested (the RTX 3070 ran wave64 split; the other report here is Arc).

Tested: pass, head 6e8291d applied on its base main cbc296a, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17. cargo test -p xcl --test gpu_dxil_valu_exec_parity -- --test-threads=4 with XCL_ADAPTER set to each GPU:

  • AMD RX 9070 XT (RDNA4), driver 32.0.32029.2010, waves 32..64: 4 passed, 0 failed, 0 SKIPPED.
  • NVIDIA RTX 3060, driver 32.0.16.1088: 4 passed, 0 failed, 0 SKIPPED.

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

<!-- greyfinch-sync:ivall/xcl:comment:7152316616 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7152316616). Originally posted by [DarkPanda69](https://github.com/DarkPanda69) on 2026-11-25T03:52:14Z. --- Native 64-lane wave64 run on AMD, which this PR lists as not tested (the RTX 3070 ran wave64 split; the other report here is Arc). **Tested:** pass, head `6e8291d` applied on its base `main` `cbc296a`, debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, DXC 1.9.2602.17. `cargo test -p xcl --test gpu_dxil_valu_exec_parity -- --test-threads=4` with `XCL_ADAPTER` set to each GPU: - AMD RX 9070 XT (RDNA4), driver 32.0.32029.2010, waves 32..64: 4 passed, 0 failed, 0 SKIPPED. - NVIDIA RTX 3060, driver 32.0.16.1088: 4 passed, 0 failed, 0 SKIPPED. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report.
JoaoPauluu commented 2026-11-25 06:05:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JoaoPauluu on 2026-11-25T05:26:03Z.


A run with vkd3d-proton as the host D3D12, so both the direct DXIL and the HLSL → DXC output go through dxil-spirv and the NVIDIA Vulkan driver: all 4 parity tests pass, none skipped.

Tested

  • RTX 3060 12 GB (NVIDIA 620.70.06, 32-lane waves), i5-10400F, 16 GB, CachyOS (kernel 7.3.3), Proton Experimental 11.0-20261112 with the patched vkd3d-proton 3.1 from #257, DXC 1.9.2609.5. Release, cross-built for x86_64-pc-windows-gnu. 6e8291d as it is (merge base with main cbc296a), no uncommitted changes. The gpu_dxil_valu_exec_parity test binary runs under Wine, one test per process.
    • direct_dxil_valu_carries_borrows_and_int_clamp_parity: ok
    • direct_dxil_valu_compares_and_vcmpx_vcc_preservation_parity: ok
    • direct_dxil_valu_conversions_and_pack_parity: ok
    • direct_dxil_valu_vop3_modifiers_and_cndmask_parity: ok

Not tested

  • wave64 forms (this GPU has 32-lane waves only), the whole suite on this head, native Windows, AMD.

AI use

  • Claude Code (Claude Opus 5.5) built the commit, ran the tests and wrote this report. The account owner asked for test reports to be posted and has not reviewed this one.
<!-- greyfinch-sync:ivall/xcl:comment:7153765330 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7153765330). Originally posted by [JoaoPauluu](https://github.com/JoaoPauluu) on 2026-11-25T05:26:03Z. --- A run with vkd3d-proton as the host D3D12, so both the direct DXIL and the HLSL → DXC output go through dxil-spirv and the NVIDIA Vulkan driver: all 4 parity tests pass, none skipped. **Tested** - RTX 3060 12 GB (NVIDIA 620.70.06, 32-lane waves), i5-10400F, 16 GB, CachyOS (kernel 7.3.3), Proton Experimental 11.0-20261112 with the patched vkd3d-proton 3.1 from #257, DXC 1.9.2609.5. Release, cross-built for `x86_64-pc-windows-gnu`. `6e8291d` as it is (merge base with `main` `cbc296a`), no uncommitted changes. The `gpu_dxil_valu_exec_parity` test binary runs under Wine, one test per process. - `direct_dxil_valu_carries_borrows_and_int_clamp_parity`: ok - `direct_dxil_valu_compares_and_vcmpx_vcc_preservation_parity`: ok - `direct_dxil_valu_conversions_and_pack_parity`: ok - `direct_dxil_valu_vop3_modifiers_and_cndmask_parity`: ok **Not tested** - wave64 forms (this GPU has 32-lane waves only), the whole suite on this head, native Windows, AMD. **AI use** - Claude Code (Claude Opus 5.5) built the commit, ran the tests and wrote this report. The account owner asked for test reports to be posted and has not reviewed this one.
DavidM1911 commented 2026-11-25 06:05:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T05:27:00Z.


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:7153785719 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7153785719). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T05:27:00Z. --- 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!
Decodere commented 2026-11-27 09:50:00 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T09:50:00Z.


Independent desktop NVIDIA verification of PR #2089 at head 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2 (1 commit; exact parent & merge-base: cbc296ab65a2661a61e3e2da109134bcd5319f60, pre-#2555 ancestor of main).

Environment

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12, Wave32-only Ada), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6C / 12T), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200 (Developer Mode off)
  • Toolchain: rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC 1.9.2609.5, --release

Targeted GPU parity tests & build (6e8291d0)

Command Result
cargo test --release -p xcl --test gpu_dxil_valu_exec_parity -- --nocapture (3 consecutive runs) 4 passed; 0 failed; 0 ignored; 0 filtered out × 3 (0.61s, 0.31s, 0.36s, 0 skipped; live RTX 4060 wave32 + split-wave64 execution of direct_dxil_valu_carries_borrows_and_int_clamp_parity, direct_dxil_valu_compares_and_vcmpx_vcc_preservation_parity, direct_dxil_valu_vop3_modifiers_and_cndmask_parity, and direct_dxil_valu_conversions_and_pack_parity)
cargo build --release -p xcl Clean build (1.31s incremental --test compile + 0.06s incremental --release build, exit 0, 0 new warnings)

Paired quiet 60 s retail smoke (title: 29640639)

Exact parent & merge-base (cbc296ab65a2661a61e3e2da109134bcd5319f60, cached baseline on the same machine):

xcl-smoke v1
commit: cbc296ab65a2661a61e3e2da109134bcd5319f60
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1572 (PresentX 1572)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14509 MB

PR #2089 (6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2):

xcl-smoke v1
commit: 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1575 (PresentX 1575)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14487 MB

Limits of coverage

  • This PR is test-only (crates/xcl/tests/gpu_dxil_valu_exec_parity.rs, 0 production-code changes); all 4 direct-DXIL vs. HLSL VALU carry/borrow, compare/v_cmpx, VOP3 modifier/v_cndmask, and conversion/pack differential parity tests executed and passed 3/3 on desktop RTX 4060 across wave32 and split-wave64 (gpu_modes() omits native Wave64 on Wave32-only Ada).
  • The 60 s retail smoke confirms non-regression of the unchanged runtime binary at this commit (single-run frame/commit delta vs. cached parent reflects normal startup variance, not this PR).

AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).

<!-- greyfinch-sync:ivall/xcl:comment:7215148528 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7215148528). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T09:50:00Z. --- Independent desktop NVIDIA verification of **PR #2089** at head `6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2` (`1` commit; exact parent & merge-base: `cbc296ab65a2661a61e3e2da109134bcd5319f60`, pre-`#2555` ancestor of `main`). ### Environment - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12, Wave32-only Ada), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6C / 12T), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` (Developer Mode off) - **Toolchain:** `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC `1.9.2609.5`, `--release` ### Targeted GPU parity tests & build (`6e8291d0`) | Command | Result | | --- | --- | | `cargo test --release -p xcl --test gpu_dxil_valu_exec_parity -- --nocapture` (3 consecutive runs) | `4 passed; 0 failed; 0 ignored; 0 filtered out` × 3 (`0.61s`, `0.31s`, `0.36s`, `0` skipped; live RTX 4060 `wave32` + `split-wave64` execution of `direct_dxil_valu_carries_borrows_and_int_clamp_parity`, `direct_dxil_valu_compares_and_vcmpx_vcc_preservation_parity`, `direct_dxil_valu_vop3_modifiers_and_cndmask_parity`, and `direct_dxil_valu_conversions_and_pack_parity`) | | `cargo build --release -p xcl` | Clean build (`1.31s` incremental `--test` compile + `0.06s` incremental `--release` build, exit `0`, `0` new warnings) | ### Paired quiet 60 s retail smoke (`title: 29640639`) Exact parent & merge-base (`cbc296ab65a2661a61e3e2da109134bcd5319f60`, cached baseline on the same machine): ``` xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1572 (PresentX 1572) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14509 MB ``` PR #2089 (`6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2`): ``` xcl-smoke v1 commit: 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1575 (PresentX 1575) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14487 MB ``` ### Limits of coverage - This PR is test-only (`crates/xcl/tests/gpu_dxil_valu_exec_parity.rs`, `0` production-code changes); all 4 direct-DXIL vs. HLSL VALU carry/borrow, compare/`v_cmpx`, VOP3 modifier/`v_cndmask`, and conversion/pack differential parity tests executed and passed `3/3` on desktop RTX 4060 across `wave32` and `split-wave64` (`gpu_modes()` omits native Wave64 on Wave32-only Ada). - The 60 s retail smoke confirms non-regression of the unchanged runtime binary at this commit (single-run frame/commit delta vs. cached parent reflects normal startup variance, not this PR). *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
BBareth commented 2026-11-30 10:10:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T10:10:35Z.


merge-check claim
head: 6e8291d0a0

<!-- greyfinch-sync:ivall/xcl:comment:7275232858 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7275232858). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T10:10:35Z. --- merge-check claim head: 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2
BBareth commented 2026-11-30 10:22:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T10:22:43Z.


merge-check
base: 9dfbe3ea66
head: 6e8291d0a0
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2889 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The new test binary tests/gpu_dxil_valu_exec_parity.rs ran 4 tests, all passed.
review: no blocking finding; one new integration test file, read; test-only, no file or process access. Direct DXIL against HLSL + DXC for VALU carries and borrows, compares and V_CMPX, VOP3 modifiers with CNDMASK, and conversions, under partial EXEC. This card has no native wave64, so only the wave32 / split forms can have run here. Same family as #1823 and #2093; not a duplicate.
performance: none; tests only.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.

<!-- greyfinch-sync:ivall/xcl:comment:7275507073 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7275507073). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T10:22:43Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2889 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The new test binary `tests/gpu_dxil_valu_exec_parity.rs` ran 4 tests, all passed. review: no blocking finding; one new integration test file, read; test-only, no file or process access. Direct DXIL against HLSL + DXC for VALU carries and borrows, compares and V_CMPX, VOP3 modifiers with CNDMASK, and conversions, under partial EXEC. This card has no native wave64, so only the wave32 / split forms can have run here. Same family as #1823 and #2093; not a duplicate. performance: none; tests only. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.
saintwolf commented 2026-11-30 12:40:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by saintwolf on 2026-11-30T12:40:51Z.


merge-check claim
head: 6e8291d0a0

<!-- greyfinch-sync:ivall/xcl:comment:7278774860 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7278774860). Originally posted by [saintwolf](https://github.com/saintwolf) on 2026-11-30T12:40:51Z. --- merge-check claim head: 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2
saintwolf commented 2026-11-30 12:46:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by saintwolf on 2026-11-30T12:46:13Z.


merge-check
base: 9dfbe3ea66
head: 6e8291d0a0
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2888 passed, 3 failed, 51 ignored; SKIPPED: 27 (22 no wave64, 2 no heap windows, 2 no xgameruntime.dll, 1 cannot disable the driver cache 0x887A002D); failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 (also fails on base 9dfbe3ea alone) and two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs in gpu_two_pass_cache_e2e (unrelated to this test-only PR); all 4 new tests in gpu_dxil_valu_exec_parity passed
review: none (read the full +358/-0 diff in crates/xcl/tests/gpu_dxil_valu_exec_parity.rs: standalone differential parity test file covering 32-bit carry/borrow chains and integer clamp under partial EXEC, f32/u64 compares and V_CMPX VCC preservation, VOP3 ABS/NEG/OMOD/CLAMP and V_CNDMASK_B32/V_CVT_F16_F32, and VALU float/int/packed conversions; all 4 tests passed on RTX 4070 SUPER in both wave32 and split wave64 modes; not tested: native wave64 hardware)
performance: none (test-only PR, no runtime changes)
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 4070 SUPER (32.0.16.2140), AMD Ryzen 7 7800X3D, Windows 11 Pro 26300, rustc 1.100.0, debug / Antigravity (Gemini 4 Hydrogen)

<!-- greyfinch-sync:ivall/xcl:comment:7278897727 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7278897727). Originally posted by [saintwolf](https://github.com/saintwolf) on 2026-11-30T12:46:13Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 6e8291d0a025a2b9b1741bd58aafaaebda1cc0a2 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2888 passed, 3 failed, 51 ignored; SKIPPED: 27 (22 no wave64, 2 no heap windows, 2 no xgameruntime.dll, 1 cannot disable the driver cache 0x887A002D); failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 (also fails on base 9dfbe3ea alone) and two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs in gpu_two_pass_cache_e2e (unrelated to this test-only PR); all 4 new tests in gpu_dxil_valu_exec_parity passed review: none (read the full +358/-0 diff in crates/xcl/tests/gpu_dxil_valu_exec_parity.rs: standalone differential parity test file covering 32-bit carry/borrow chains and integer clamp under partial EXEC, f32/u64 compares and V_CMPX VCC preservation, VOP3 ABS/NEG/OMOD/CLAMP and V_CNDMASK_B32/V_CVT_F16_F32, and VALU float/int/packed conversions; all 4 tests passed on RTX 4070 SUPER in both wave32 and split wave64 modes; not tested: native wave64 hardware) performance: none (test-only PR, no runtime changes) verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 4070 SUPER (32.0.16.2140), AMD Ryzen 7 7800X3D, Windows 11 Pro 26300, rustc 1.100.0, debug / Antigravity (Gemini 4 Hydrogen)
Foniass commented 2026-12-01 07:19:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:19:57Z.


Triage (#1607) – head 6e8291d

Test-only: adds crates/xcl/tests/gpu_dxil_valu_exec_parity.rs, which compares direct DXIL with HLSL for VALU carry/borrow chains, integer clamp, V_CMP/V_CMPX (including VCC preservation), VOP3 modifiers and conversions. I checked the hard-coded expectations (masks 0x1111_1111/0xBBBB_BBBB/0x5555_5555, cvt_rpi, pk_i16 clamp) by hand and they are right. #1823 also covers V_CMP_EQ_U64/V_CMP_LT_I64 in another file, but nothing else overlaps.
No open or merged PR makes the same change. No problems found in the diff.
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:7303928459 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2089#issuecomment-7303928459). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T07:19:57Z. --- **Triage (#1607)** – head 6e8291d Test-only: adds `crates/xcl/tests/gpu_dxil_valu_exec_parity.rs`, which compares direct DXIL with HLSL for VALU carry/borrow chains, integer clamp, V_CMP/V_CMPX (including VCC preservation), VOP3 modifiers and conversions. I checked the hard-coded expectations (masks 0x1111_1111/0xBBBB_BBBB/0x5555_5555, cvt_rpi, pk_i16 clamp) by hand and they are right. #1823 also covers V_CMP_EQ_U64/V_CMP_LT_I64 in another file, but nothing else overlaps. No open or merged PR makes the same change. No problems found in the diff. 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/2089:upstream-pr/2089'
git switch 'upstream-pr/2089'

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/2089'
git switch 'upstream-pr/2089'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2089'
git switch 'upstream-pr/2089'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2089'
git switch 'main'
git merge --squash 'upstream-pr/2089'
git switch 'main'
git merge --ff-only 'upstream-pr/2089'
git switch 'main'
git merge 'upstream-pr/2089'
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!2079
No description provided.