Tests: check packed f16 VOP3P, v_dot2c_f32_f16, v_pack_b32_f16 and f16 FMA ops on the GPU #1149

Open
microwave805 wants to merge 1 commit from upstream-pr/1158 into main
microwave805 commented 2026-11-24 12:38:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by microwave805 on 2026-11-24T12:38:25Z.


Adds GPU tests for 8 translated RDNA2 f16 instructions that currently have no GPU coverage in crates/xcl/src/gpu/recomp/tests.rs: v_pk_fma_f16, v_pk_min_f16, v_pk_max_f16, v_dot2c_f32_f16, v_pack_b32_f16, v_fmac_f16, v_fmamk_f16, and v_fmaak_f16.

All inputs are exact binary16 values across four distinct edge-case lanes so results are exact across rounding modes and hardware drivers.

What is in it

  • crates/xcl/src/gpu/recomp/tests.rs:
    • gpu_packed_f16_fma_min_max_dot2c_and_pack: checks v_pk_fma_f16, v_pk_min_f16, and v_pk_max_f16 (plain, swapped OP_SEL/OP_SEL_HI/OP_SEL_HI_2, NEG/NEG_HI, and CLAMP), two consecutive v_dot2c_f32_f16 accumulations into the same vdst, and all four OP_SEL[1:0] pairings of v_pack_b32_f16.
    • gpu_f16_fmac_fmamk_fmaak: checks VOP2 v_fmac_f16, VOP3 v_fmac_f16 (OP_SEL=0b1010, CLAMP=1), v_fmamk_f16, and v_fmaak_f16 (verifying upper-16-bit literal masking and preservation of the untouched half of vdst).

Tested

  • NVIDIA GeForce RTX 3070 (driver 32.0.16.1742), AMD Ryzen 5 5600X, Windows 11 Pro (build 22631), DXC 1.9.2602.17 (Windows SDK 10.0.26100.0), Rust 1.100.0 (stable-x86_64-pc-windows-msvc, debug)
  • cargo test -p xcl --lib gpu_packed_f16 -- --nocapture: 1 passed, 0 failed
  • cargo test -p xcl --lib gpu_f16_fmac -- --nocapture: 1 passed, 0 failed
  • .\scripts\test.ps1 (cargo build --workspace + cargo test --workspace -- --test-threads=4): 743 passed, 0 failed, 41 ignored
  • SKIPPED GPU tests: gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask, gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware (no wave64)
  • python -I scripts/pr_check.py --local on this PR's description and changed files: description ok

Regression run

  • Not needed: changes only crates/xcl/src/gpu/recomp/tests.rs (test-only).

Not tested

  • Native wave64 / AMD GPUs (ran on NVIDIA RTX 3070 via split-wave64)
  • Retail titles

AI use

  • Antigravity (Gemini 4 Neon): audited untested f16 instructions in emit.rs/tests.rs, wrote both GPU tests and this PR description, and ran the test commands above.
<!-- greyfinch-sync:ivall/xcl:issue:5472298337 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158). Originally posted by [microwave805](https://github.com/microwave805) on 2026-11-24T12:38:25Z. --- Adds GPU tests for 8 translated RDNA2 f16 instructions that currently have no GPU coverage in `crates/xcl/src/gpu/recomp/tests.rs`: `v_pk_fma_f16`, `v_pk_min_f16`, `v_pk_max_f16`, `v_dot2c_f32_f16`, `v_pack_b32_f16`, `v_fmac_f16`, `v_fmamk_f16`, and `v_fmaak_f16`. All inputs are exact binary16 values across four distinct edge-case lanes so results are exact across rounding modes and hardware drivers. **What is in it** - `crates/xcl/src/gpu/recomp/tests.rs`: - `gpu_packed_f16_fma_min_max_dot2c_and_pack`: checks `v_pk_fma_f16`, `v_pk_min_f16`, and `v_pk_max_f16` (plain, swapped `OP_SEL`/`OP_SEL_HI`/`OP_SEL_HI_2`, `NEG`/`NEG_HI`, and `CLAMP`), two consecutive `v_dot2c_f32_f16` accumulations into the same `vdst`, and all four `OP_SEL[1:0]` pairings of `v_pack_b32_f16`. - `gpu_f16_fmac_fmamk_fmaak`: checks VOP2 `v_fmac_f16`, VOP3 `v_fmac_f16` (`OP_SEL=0b1010`, `CLAMP=1`), `v_fmamk_f16`, and `v_fmaak_f16` (verifying upper-16-bit literal masking and preservation of the untouched half of `vdst`). **Tested** - NVIDIA GeForce RTX 3070 (driver 32.0.16.1742), AMD Ryzen 5 5600X, Windows 11 Pro (build 22631), DXC 1.9.2602.17 (Windows SDK 10.0.26100.0), Rust 1.100.0 (stable-x86_64-pc-windows-msvc, debug) - `cargo test -p xcl --lib gpu_packed_f16 -- --nocapture`: 1 passed, 0 failed - `cargo test -p xcl --lib gpu_f16_fmac -- --nocapture`: 1 passed, 0 failed - `.\scripts\test.ps1` (`cargo build --workspace` + `cargo test --workspace -- --test-threads=4`): 743 passed, 0 failed, 41 ignored - SKIPPED GPU tests: `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware` (no wave64) - `python -I scripts/pr_check.py --local` on this PR's description and changed files: `description ok` **Regression run** - Not needed: changes only `crates/xcl/src/gpu/recomp/tests.rs` (test-only). **Not tested** - Native wave64 / AMD GPUs (ran on NVIDIA RTX 3070 via split-wave64) - Retail titles **AI use** - Antigravity (Gemini 4 Neon): audited untested f16 instructions in `emit.rs`/`tests.rs`, wrote both GPU tests and this PR description, and ran the test commands above.
DavidM1911 commented 2026-11-24 13:03:44 +00:00 (Migrated from github.com)

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


Independent verification on current main 384f7f7 (branch already contains it — clean).

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

  • cargo test -p xcl --lib packed_f16: 1 passed, 0 failed — gpu_packed_f16_fma_min_max_dot2c_and_pack covers the packed-f16 VOP3P/FMA/dot2c/pack ops on real hardware.

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

<!-- greyfinch-sync:ivall/xcl:comment:7131890884 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1158#issuecomment-7131890884). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T12:46:03Z. --- Independent verification on current `main` `384f7f7` (branch already contains it — clean). **Machine:** Windows 11, Ryzen 9 7900X + RTX 3060 Ti; Rust stable MSVC, debug; DXC 1.8.2502.11. - `cargo test -p xcl --lib packed_f16`: **1 passed, 0 failed** — `gpu_packed_f16_fma_min_max_dot2c_and_pack` covers the packed-f16 VOP3P/FMA/dot2c/pack ops on real hardware. AI use: test runs by Devin (Cognition, SWE-2); no code changes.
TobiasFornell commented 2026-11-24 13:03:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by TobiasFornell on 2026-11-24T12:57:02Z.


AMD / Linux data point (the PR's runs were NVIDIA with no wave64).

Tested: RX 9070 XT (RDNA4, native wave64), Mesa RADV 26.3.1, CachyOS (kernel 7.3), Proton Experimental 11.0-20261112 Wine, vkd3d-proton v3.1 (scripts/linux build), DXC 1.9.2609, x86_64-pc-windows-msvc cross-build, release. Head aa94ba9 merged onto main 47efa2e (clean), together with #1144.

  • gpu_packed_f16_fma_min_max_dot2c_and_pack, gpu_f16_fmac_fmamk_fmaak, gpu_f16_defaults_to_round_to_nearest_even: pass.
  • The two tests skipped with no wave64 on NVIDIA (gpu_wave32_program_in_wave64_hardware, gpu_geometry_wave32_prefix_count_over_a_mask) run and pass here.

Testing and write-up assisted by Claude Code (Claude Opus 5.5); runs on my own hardware, checked by me.

<!-- greyfinch-sync:ivall/xcl:comment:7132139566 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1158#issuecomment-7132139566). Originally posted by [TobiasFornell](https://github.com/TobiasFornell) on 2026-11-24T12:57:02Z. --- AMD / Linux data point (the PR's runs were NVIDIA with no wave64). **Tested:** RX 9070 XT (RDNA4, native wave64), Mesa RADV 26.3.1, CachyOS (kernel 7.3), Proton Experimental `11.0-20261112` Wine, vkd3d-proton v3.1 (`scripts/linux` build), DXC 1.9.2609, `x86_64-pc-windows-msvc` cross-build, release. Head `aa94ba9` merged onto `main` `47efa2e` (clean), together with #1144. - `gpu_packed_f16_fma_min_max_dot2c_and_pack`, `gpu_f16_fmac_fmamk_fmaak`, `gpu_f16_defaults_to_round_to_nearest_even`: **pass**. - The two tests skipped with `no wave64` on NVIDIA (`gpu_wave32_program_in_wave64_hardware`, `gpu_geometry_wave32_prefix_count_over_a_mask`) **run and pass** here. *Testing and write-up assisted by Claude Code (Claude Opus 5.5); runs on my own hardware, checked by me.*
0xTehuti commented 2026-11-24 13:03:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by 0xTehuti on 2026-11-24T12:59:28Z.


Test report on NVIDIA GeForce RTX 2070 SUPER (Turing, wave32)

Commit tested
aa94ba9d343d99aa06f757123cf7e5e38b38ff2f (PR #1158 head)

Tested

  • Hardware:
    • GPU: NVIDIA GeForce RTX 2070 SUPER (Driver 595.79 / 32.0.15.9579, 7989 MiB VRAM)
    • CPU: Intel Core i7-10700K CPU @ 3.80GHz
    • OS: Windows 11 x64, Rust 1.99.0
  • Commands run and results:
    • cargo test -p xcl --lib recomp:
      190 passed; 0 failed; 18 ignored; 0 measured; 513 filtered out; finished in 6.63s
    • New test targets checked individually:
      • gpu_packed_f16_fma_min_max_dot2c_and_pack: 1 passed; 0 failed (0.26s)
      • gpu_f16_fmac_fmamk_fmaak: 1 passed; 0 failed (0.29s)
  • Findings:
    • All eight newly tested RDNA2 f16 instructions (v_pk_fma_f16, v_pk_min_f16, v_pk_max_f16, v_dot2c_f32_f16, v_pack_b32_f16, v_fmac_f16, v_fmamk_f16, v_fmaak_f16) compile and execute cleanly on Turing hardware with DXIL 1.8.
    • Operand selectors (OP_SEL, OP_SEL_HI, NEG, CLAMP) and binary16 lane pattern preservation pass without issues.

Not tested

  • Retail game packages (XCL_SAMPLE_* unset).

AI use

  • Tool: Antigravity / T3 Code
  • Model: Gemini 3.8 Flash
  • Details: Checked out PR branch in isolated worktree, compiled with DXC 10.0.26100.0, executed GPU tests on NVIDIA hardware, and recorded factual output.
<!-- greyfinch-sync:ivall/xcl:comment:7132195518 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1158#issuecomment-7132195518). Originally posted by [0xTehuti](https://github.com/0xTehuti) on 2026-11-24T12:59:28Z. --- ### Test report on NVIDIA GeForce RTX 2070 SUPER (Turing, wave32) **Commit tested** `aa94ba9d343d99aa06f757123cf7e5e38b38ff2f` (PR #1158 head) **Tested** - **Hardware:** - GPU: NVIDIA GeForce RTX 2070 SUPER (Driver 595.79 / 32.0.15.9579, 7989 MiB VRAM) - CPU: Intel Core i7-10700K CPU @ 3.80GHz - OS: Windows 11 x64, Rust 1.99.0 - **Commands run and results:** - `cargo test -p xcl --lib recomp`: `190 passed; 0 failed; 18 ignored; 0 measured; 513 filtered out; finished in 6.63s` - New test targets checked individually: - `gpu_packed_f16_fma_min_max_dot2c_and_pack`: `1 passed; 0 failed` (0.26s) - `gpu_f16_fmac_fmamk_fmaak`: `1 passed; 0 failed` (0.29s) - **Findings:** - All eight newly tested RDNA2 f16 instructions (`v_pk_fma_f16`, `v_pk_min_f16`, `v_pk_max_f16`, `v_dot2c_f32_f16`, `v_pack_b32_f16`, `v_fmac_f16`, `v_fmamk_f16`, `v_fmaak_f16`) compile and execute cleanly on Turing hardware with DXIL 1.8. - Operand selectors (`OP_SEL`, `OP_SEL_HI`, `NEG`, `CLAMP`) and binary16 lane pattern preservation pass without issues. **Not tested** - Retail game packages (`XCL_SAMPLE_*` unset). **AI use** - Tool: Antigravity / T3 Code - Model: Gemini 3.8 Flash - Details: Checked out PR branch in isolated worktree, compiled with DXC 10.0.26100.0, executed GPU tests on NVIDIA hardware, and recorded factual output.
JJAutoCompare commented 2026-11-25 05:08:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T04:58:09Z.


Tested

Clean detached PR head aa94ba9d343d99aa06f757123cf7e5e38b38ff2f on STOR-WINLAB. Windows 11 Enterprise Evaluation 25H2 x64 (26200.9974), Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust/Cargo 1.100.0 x86_64-pc-windows-msvc, DXC/DXIL 1.9.2609.5. Unoptimized test profile.

cargo test --locked -p xcl --lib --no-run ran outside the shared GPU mutex and exited 0 in 31.05 s. With XCL_ADAPTER=A770 and the specified XCL_DXC_DIR, ran both prebuilt fixtures under Invoke-ArcTest.ps1 -Test:

$exe = 'L:/XclTooling/pr1778-2e2ee55-20261125-020159/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe'
& $exe gpu::recomp::tests::gpu_packed_f16_fma_min_max_dot2c_and_pack --exact --nocapture --test-threads=1
& $exe gpu::recomp::tests::gpu_f16_fmac_fmamk_fmaak --exact --nocapture --test-threads=1

2 passed, 0 failed, 0 ignored, 0 skipped, with 720 filtered out per invocation. Both fixtures and wrapper exited 0. Both used HLSL/DXC with split wave64. The first passed 704 lane-output checks in 2.02 s, including packed FMA/min/max, consecutive dot accumulations and all four pack selectors. The second passed 256 checks in 0.30 s, including FMAC, FMAMK, FMAAK, literal masking and preservation of the untouched destination halfword.

Not tested

Standalone wave32, native wave64, direct DXIL, other adapters, release builds, the workspace suite, and retail smoke.

AI use

T3 Code / Codex (gpt-6.2-sol) ran the fixtures and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7153327205 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7153327205). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T04:58:09Z. --- **Tested** Clean detached PR head `aa94ba9d343d99aa06f757123cf7e5e38b38ff2f` on STOR-WINLAB. Windows 11 Enterprise Evaluation 25H2 x64 (26200.9974), Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Rust/Cargo 1.100.0 x86_64-pc-windows-msvc, DXC/DXIL 1.9.2609.5. Unoptimized test profile. `cargo test --locked -p xcl --lib --no-run` ran outside the shared GPU mutex and exited 0 in 31.05 s. With `XCL_ADAPTER=A770` and the specified `XCL_DXC_DIR`, ran both prebuilt fixtures under `Invoke-ArcTest.ps1 -Test`: ```powershell $exe = 'L:/XclTooling/pr1778-2e2ee55-20261125-020159/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe' & $exe gpu::recomp::tests::gpu_packed_f16_fma_min_max_dot2c_and_pack --exact --nocapture --test-threads=1 & $exe gpu::recomp::tests::gpu_f16_fmac_fmamk_fmaak --exact --nocapture --test-threads=1 ``` **2 passed, 0 failed, 0 ignored, 0 skipped**, with 720 filtered out per invocation. Both fixtures and wrapper exited 0. Both used HLSL/DXC with split wave64. The first passed 704 lane-output checks in 2.02 s, including packed FMA/min/max, consecutive dot accumulations and all four pack selectors. The second passed 256 checks in 0.30 s, including FMAC, FMAMK, FMAAK, literal masking and preservation of the untouched destination halfword. **Not tested** Standalone wave32, native wave64, direct DXIL, other adapters, release builds, the workspace suite, and retail smoke. **AI use** T3 Code / Codex (`gpt-6.2-sol`) ran the fixtures and wrote this report.
github-actions[bot] commented 2026-11-28 20:18:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T20:18:04Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7245185067 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7245185067). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T20:18:04Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
BBareth commented 2026-11-30 19:41:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T19:41:05Z.


merge-check claim
head: aa94ba9d34

<!-- greyfinch-sync:ivall/xcl:comment:7289779174 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7289779174). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T19:41:05Z. --- merge-check claim head: aa94ba9d343d99aa06f757123cf7e5e38b38ff2f
BBareth commented 2026-11-30 19:47:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T19:47:49Z.


merge-check
base: ff0c364b3d
head: aa94ba9d34
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2891 passed, 0 failed, 51 ignored; 28 SKIPPED lines, as on the base; failing: none. The base alone, run earlier today on the same commit: 2888 passed, 1 failed, 51 ignored, 28 SKIPPED lines; its one failure, hle::d3d12x::pso_async::used_tests::emission_resolves_the_retained_recipe_after_title_address_reuse, passed here and in ten other merged runs today, so it is intermittent on the base. Both new tests ran on the GPU and passed: gpu_packed_f16_fma_min_max_dot2c_and_pack, gpu_f16_fmac_fmamk_fmaak.
review: no blocking finding; test-only, one file, every line read. Two GPU tests of instructions that already translate: packed f16 FMA / min / max with OP_SEL, NEG and CLAMP, v_dot2c_f32_f16 accumulating twice, the four half pairings of v_pack_b32_f16, and v_fmac_f16 / v_fmamk_f16 / v_fmaak_f16 including that the untouched half of the destination and the upper 16 bits of the literal are ignored. The expected values are computed in f32 and converted to half; every operand and result in the four cases is exactly representable in f16, so the comparison is exact. No runtime code changes.
performance: none: tests only (two more GPU kernels in the suite).
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:7289950940 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7289950940). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T19:47:49Z. --- merge-check base: ff0c364b3de011c13ed45865480c21918a79ec89 head: aa94ba9d343d99aa06f757123cf7e5e38b38ff2f merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2891 passed, 0 failed, 51 ignored; 28 SKIPPED lines, as on the base; failing: none. The base alone, run earlier today on the same commit: 2888 passed, 1 failed, 51 ignored, 28 SKIPPED lines; its one failure, `hle::d3d12x::pso_async::used_tests::emission_resolves_the_retained_recipe_after_title_address_reuse`, passed here and in ten other merged runs today, so it is intermittent on the base. Both new tests ran on the GPU and passed: `gpu_packed_f16_fma_min_max_dot2c_and_pack`, `gpu_f16_fmac_fmamk_fmaak`. review: no blocking finding; test-only, one file, every line read. Two GPU tests of instructions that already translate: packed f16 FMA / min / max with OP_SEL, NEG and CLAMP, `v_dot2c_f32_f16` accumulating twice, the four half pairings of `v_pack_b32_f16`, and `v_fmac_f16` / `v_fmamk_f16` / `v_fmaak_f16` including that the untouched half of the destination and the upper 16 bits of the literal are ignored. The expected values are computed in f32 and converted to half; every operand and result in the four cases is exactly representable in f16, so the comparison is exact. No runtime code changes. performance: none: tests only (two more GPU kernels in the suite). 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.
brainhay5 commented 2026-11-30 20:26:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T20:26:54Z.


merge-check claim
head: aa94ba9d34

<!-- greyfinch-sync:ivall/xcl:comment:7290932162 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7290932162). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T20:26:54Z. --- merge-check claim head: aa94ba9d343d99aa06f757123cf7e5e38b38ff2f
brainhay5 commented 2026-11-30 20:29:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T20:29:27Z.


merge-check claim
head: aa94ba9d34

<!-- greyfinch-sync:ivall/xcl:comment:7291003799 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7291003799). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T20:29:27Z. --- merge-check claim head: aa94ba9d343d99aa06f757123cf7e5e38b38ff2f
brainhay5 commented 2026-11-30 22:28:56 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T22:28:56Z.


merge-check
base: ff0c364b3d
head: aa94ba9d34
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2890 passed, 1 failed, 51 ignored; 29 SKIPPED lines; failing: test_title_runs_and_game_folder_is_untouched (also fails on the base alone, verified by running it there)
review: automated check: diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no line-by-line review and no duplicate search performed.
performance: not assessed beyond the suite.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017

<!-- greyfinch-sync:ivall/xcl:comment:7293904899 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7293904899). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T22:28:56Z. --- merge-check base: ff0c364b3de011c13ed45865480c21918a79ec89 head: aa94ba9d343d99aa06f757123cf7e5e38b38ff2f merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2890 passed, 1 failed, 51 ignored; 29 SKIPPED lines; failing: test_title_runs_and_game_folder_is_untouched (also fails on the base alone, verified by running it there) review: automated check: diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no line-by-line review and no duplicate search performed. performance: not assessed beyond the suite. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017
Foniass commented 2026-12-01 04:56:44 +00:00 (Migrated from github.com)

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


Triage (#1607) – head aa94ba9

No open or merged PR adds the same tests; main has no GPU test for v_pk_fma_f16, v_pk_min/max_f16, v_dot2c_f32_f16, v_pack_b32_f16, v_fmac_f16, v_fmamk_f16 or v_fmaak_f16. #1576 (gpu_packed_16bit_shifts_minmax_mul_and_fma) overlaps partly on v_pk_fma_f16 / v_pk_min_f16 / v_pk_max_f16; the dot2c, pack and fmac/fmamk/fmaak cases here are not covered elsewhere.
I checked the OP_SEL/OP_SEL_HI/NEG/NEG_HI expectations by hand and found no error.
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:7301262391 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1158#issuecomment-7301262391). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:56:44Z. --- **Triage (#1607)** – head aa94ba9 No open or merged PR adds the same tests; main has no GPU test for v_pk_fma_f16, v_pk_min/max_f16, v_dot2c_f32_f16, v_pack_b32_f16, v_fmac_f16, v_fmamk_f16 or v_fmaak_f16. #1576 (gpu_packed_16bit_shifts_minmax_mul_and_fma) overlaps partly on v_pk_fma_f16 / v_pk_min_f16 / v_pk_max_f16; the dot2c, pack and fmac/fmamk/fmaak cases here are not covered elsewhere. I checked the OP_SEL/OP_SEL_HI/NEG/NEG_HI expectations by hand and found no error. 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/1158:upstream-pr/1158'
git switch 'upstream-pr/1158'

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