Recompiler: round f16 add / sub / fma / ldexp results to nearest even #1831

Open
vladbondarenko97 wants to merge 1 commit from upstream-pr/1841 into main
vladbondarenko97 commented 2026-11-24 21:39:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vladbondarenko97 on 2026-11-24T21:39:53Z.


In the HLSL path the f32 result of v_add / sub / subrev / fma / fmac / fmamk / fmaak / ldexp_f16 and v_pk_add / pk_fma / pk_fmac_f16 was converted with f32tof16, which rounds toward zero on NVIDIA; RDNA2's default is round to nearest even. Only v_mul_f16 / v_pk_mul_f16 used f32_to_f16_rm (#166). Found on an RTX 3080 Ti (reported on #1269 and #128): v_add_f16(0x3C01, 2^-11) gave 0x3C01 (want 0x3C02), v_pk_add_f16 high half 0xbfff (want 0xc000), v_ldexp_f16 into the denormals 0x207 (want 0x208).

What is in it

  • crates/xcl/src/gpu/recomp/emit.rs:
    • add / sub / subrev / ldexp and v_pk_add_f16 use the same rounded conversion as v_mul_f16 (the f32 result is exact or correctly rounded with 2p+2 bits, so one rounding to f16 is right).
    • fma / fmac / fmamk / fmaak and v_pk_fma_f16 / v_pk_fmac_f16 use a new prelude helper fma_rto: the exact product plus the TwoSum error, rounded to odd in f32, so the following binary16 rounding is a single correct rounding (fma(0x3C01, 0x0FFE, 0x3C01) = 0x3C01; an RNE f32 sum gives 0x3C02).
    • fma_rto is in PRELUDE, so every program's DXIL cache entry is rebuilt once.
  • crates/xcl/src/gpu/recomp/tests.rs: gpu_f16_arithmetic_rounds_to_nearest_even: 8 results × 4096 lanes against an exact integer reference, with ties, subnormals and the double-rounding case.
  • Not in it: v_cvt_f16_u16 / i16 (#515), directed rounding modes (#128), v_fma_mix*_f16, v_mad_f16, and the transcendental f16 ops (still f32tof16).

Tested

  • NVIDIA GeForce RTX 3080 Ti (driver 610.88), i7-12700KF, Windows 11, DXC 1.9.2602.17, debug build.
  • cargo test -p xcl --lib gpu_f16_arithmetic_rounds -- --test-threads=1: without the emit.rs change FAILED, 13780 wrong (e.g. v_add_f16 a=3c01 b=1000: got 3c01, want 3c02; v_fma_f16 a=9008 b=9130 c=823a: got 8234, want 8235); with it 1 passed (on this head, 89724e5, and on the same change before the rebase, 4c4b190).
  • cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4 on this head 89724e5: 960 passed, 0 failed, 43 ignored.
  • SKIPPED (this adapter): no wave64 for 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, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu and the wave64 halves of f16/f32/f64/integer_programs_on_the_gpu; their per-lane halves that the per-lane form refuses; pso_measurement_compiles_an_exact_synthetic_record (cannot disable the driver cache); heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).

Regression run
main:

xcl-smoke v1
commit: c4d37bec1bb4286eb373aea963404a23f13401fa
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 120
exit: 0x0
frames shown: 2379 (PresentX 2379)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 33300 MB

this PR:

xcl-smoke v1
commit: 89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b
gpu: NVIDIA GeForce RTX 3080 Ti
title: 9cc6a39e
seconds: 120
exit: 0x0
frames shown: 2450 (PresentX 2450)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 30453 MB

Not tested

  • AMD (where f32tof16 may already round to nearest); the f16 ops listed above as not in it; a game that depends on these results (the regression run is a 120 s boot/menu run).

AI use

  • Claude Code: Claude Sonnet 5.5 wrote the change and the test and ran them on the box; Claude Opus 5.5 reviewed the diff, rebased it and ran the regression runs.

Related: #128, #515, #1269

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s

<!-- greyfinch-sync:ivall/xcl:issue:5480786152 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841). Originally posted by [vladbondarenko97](https://github.com/vladbondarenko97) on 2026-11-24T21:39:53Z. --- In the HLSL path the f32 result of `v_add` / `sub` / `subrev` / `fma` / `fmac` / `fmamk` / `fmaak` / `ldexp_f16` and `v_pk_add` / `pk_fma` / `pk_fmac_f16` was converted with `f32tof16`, which rounds toward zero on NVIDIA; RDNA2's default is round to nearest even. Only `v_mul_f16` / `v_pk_mul_f16` used `f32_to_f16_rm` (#166). Found on an RTX 3080 Ti (reported on #1269 and #128): `v_add_f16(0x3C01, 2^-11)` gave `0x3C01` (want `0x3C02`), `v_pk_add_f16` high half `0xbfff` (want `0xc000`), `v_ldexp_f16` into the denormals `0x207` (want `0x208`). **What is in it** - `crates/xcl/src/gpu/recomp/emit.rs`: - add / sub / subrev / ldexp and `v_pk_add_f16` use the same rounded conversion as `v_mul_f16` (the f32 result is exact or correctly rounded with 2p+2 bits, so one rounding to f16 is right). - fma / fmac / fmamk / fmaak and `v_pk_fma_f16` / `v_pk_fmac_f16` use a new prelude helper `fma_rto`: the exact product plus the TwoSum error, rounded to odd in f32, so the following binary16 rounding is a single correct rounding (`fma(0x3C01, 0x0FFE, 0x3C01)` = `0x3C01`; an RNE f32 sum gives `0x3C02`). - `fma_rto` is in `PRELUDE`, so every program's DXIL cache entry is rebuilt once. - `crates/xcl/src/gpu/recomp/tests.rs`: `gpu_f16_arithmetic_rounds_to_nearest_even`: 8 results × 4096 lanes against an exact integer reference, with ties, subnormals and the double-rounding case. - Not in it: `v_cvt_f16_u16` / `i16` (#515), directed rounding modes (#128), `v_fma_mix*_f16`, `v_mad_f16`, and the transcendental f16 ops (still `f32tof16`). **Tested** - NVIDIA GeForce RTX 3080 Ti (driver 610.88), i7-12700KF, Windows 11, DXC 1.9.2602.17, debug build. - `cargo test -p xcl --lib gpu_f16_arithmetic_rounds -- --test-threads=1`: without the `emit.rs` change FAILED, 13780 wrong (e.g. `v_add_f16 a=3c01 b=1000: got 3c01, want 3c02`; `v_fma_f16 a=9008 b=9130 c=823a: got 8234, want 8235`); with it 1 passed (on this head, `89724e5`, and on the same change before the rebase, `4c4b190`). - `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4` on this head `89724e5`: 960 passed, 0 failed, 43 ignored. - SKIPPED (this adapter): no wave64 for `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`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu` and the wave64 halves of `f16/f32/f64/integer_programs_on_the_gpu`; their per-lane halves that the per-lane form refuses; `pso_measurement_compiles_an_exact_synthetic_record` (cannot disable the driver cache); `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). **Regression run** main: ``` xcl-smoke v1 commit: c4d37bec1bb4286eb373aea963404a23f13401fa gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 120 exit: 0x0 frames shown: 2379 (PresentX 2379) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 33300 MB ``` this PR: ``` xcl-smoke v1 commit: 89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b gpu: NVIDIA GeForce RTX 3080 Ti title: 9cc6a39e seconds: 120 exit: 0x0 frames shown: 2450 (PresentX 2450) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 30453 MB ``` **Not tested** - AMD (where `f32tof16` may already round to nearest); the f16 ops listed above as not in it; a game that depends on these results (the regression run is a 120 s boot/menu run). **AI use** - Claude Code: Claude Sonnet 5.5 wrote the change and the test and ran them on the box; Claude Opus 5.5 reviewed the diff, rebased it and ran the regression runs. Related: #128, #515, #1269 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s
upipibi commented 2026-11-24 22:06:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-24T22:04:18Z.


Checked on Ampere: RTX 3070 8 GB, driver 616.56, Windows 11, debug, 89724e5 merged onto main. gpu_f16_arithmetic_rounds_to_nearest_even passes on the HLSL path.

The direct DXIL backend still has the same bug. The test compiles the HLSL itself, so XCL_DIRECT_DXIL=1 doesn't reach the direct translator. I changed one line locally to direct_or(&code, &opt, dxc::compile(..)). With XCL_DIRECT_DXIL=1 it then fails at the first case:

v_add_f16 a=3c01 b=1000 ...: got 3c01, want 3c02
v_fma_f16 a=3c01 b=1000 c=3c01 ...: got 3c01, want 3c02

#1742 doesn't cover these. It moves only v_mul_f16 / v_pk_mul_f16 (and v_cvt_f16_f32) to to_f16_rounded. The to_f16 calls for add / sub / fma / fmac / ldexp, v_pk_add / v_pk_fma and v_fma_mixlo/hi stay (lower_wide.rs around 66 and 417, lower_valu.rs around 512). I could not run the two PRs together: #1742 currently conflicts with main in kernel.rs / core_tests.rs. Making the test go through direct_or here would keep both backends covered once the direct side is fixed.

AI-assisted (Claude Code). Synthetic tests only.

<!-- greyfinch-sync:ivall/xcl:comment:7145763232 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7145763232). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-24T22:04:18Z. --- Checked on Ampere: RTX 3070 8 GB, driver 616.56, Windows 11, debug, `89724e5` merged onto `main`. `gpu_f16_arithmetic_rounds_to_nearest_even` passes on the HLSL path. **The direct DXIL backend still has the same bug.** The test compiles the HLSL itself, so `XCL_DIRECT_DXIL=1` doesn't reach the direct translator. I changed one line locally to `direct_or(&code, &opt, dxc::compile(..))`. With `XCL_DIRECT_DXIL=1` it then fails at the first case: ``` v_add_f16 a=3c01 b=1000 ...: got 3c01, want 3c02 v_fma_f16 a=3c01 b=1000 c=3c01 ...: got 3c01, want 3c02 ``` #1742 doesn't cover these. It moves only `v_mul_f16` / `v_pk_mul_f16` (and `v_cvt_f16_f32`) to `to_f16_rounded`. The `to_f16` calls for add / sub / fma / fmac / ldexp, `v_pk_add` / `v_pk_fma` and `v_fma_mixlo/hi` stay (`lower_wide.rs` around 66 and 417, `lower_valu.rs` around 512). I could not run the two PRs together: #1742 currently conflicts with `main` in `kernel.rs` / `core_tests.rs`. Making the test go through `direct_or` here would keep both backends covered once the direct side is fixed. AI-assisted (Claude Code). Synthetic tests only.
thehollowedone commented 2026-11-24 23:08:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-24T22:46:34Z.


Independent HLSL check of 89724e5 on an RTX 3080 Ti (621.35), Windows 11 build 26300, Rust 1.99.1 MSVC debug, DXC 1.8.2502.11.

I extended the existing exact-integer reference test to cover v_subrev_f16, v_fmamk_f16, v_fmaak_f16, both halves of v_pk_fmac_f16, and the low half of v_pk_fma_f16. All 57,344 results matched. For a packed FMAC whose two halves straddle different rounding midpoints, the GPU returned the expected 0x3C013C01. Replacing the emitter with the version from the PR parent gave 0x3C003C01 for that pair and 25,878 mismatches across the extended test.

cargo test --offline --locked -p xcl --lib <filter> -- --nocapture --test-threads=1 passed 1/1 for each of gpu_f16_arithmetic_rounds_to_nearest_even and scratch_f16_arithmetic_all_changed_encodings. Zero skips. Synthetic inputs through the HLSL translator.

AI-assisted. Codex (GPT-6 family, exact variant unavailable) extended and ran the test and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7146630564 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7146630564). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-24T22:46:34Z. --- Independent HLSL check of [89724e5](https://github.com/xcl-dev/xcl/commit/89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b) on an RTX 3080 Ti (621.35), Windows 11 build 26300, Rust 1.99.1 MSVC debug, DXC 1.8.2502.11. I extended the existing exact-integer reference test to cover `v_subrev_f16`, `v_fmamk_f16`, `v_fmaak_f16`, both halves of `v_pk_fmac_f16`, and the low half of `v_pk_fma_f16`. All 57,344 results matched. For a packed FMAC whose two halves straddle different rounding midpoints, the GPU returned the expected `0x3C013C01`. Replacing the emitter with the version from the [PR parent](https://github.com/xcl-dev/xcl/commit/1d027e5c76c9a86a7ee2ca1cc677edf0be95d331) gave `0x3C003C01` for that pair and 25,878 mismatches across the extended test. `cargo test --offline --locked -p xcl --lib <filter> -- --nocapture --test-threads=1` passed 1/1 for each of `gpu_f16_arithmetic_rounds_to_nearest_even` and `scratch_f16_arithmetic_all_changed_encodings`. Zero skips. Synthetic inputs through the HLSL translator. AI-assisted. Codex (GPT-6 family, exact variant unavailable) extended and ran the test and drafted this report.
futurepro62 commented 2026-11-24 23:08:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T23:02:11Z.


Full-suite run on NVIDIA and the AMD iGPU, to go with the targeted checks above. Tested exact head 89724e5 (on its base c4d37be).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, 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 -- --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: 955 passed, 0 failed, 43 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_f16_arithmetic_rounds_to_nearest_even.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 960 passed, 0 failed, 43 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).
  • On NVIDIA, --skip leaves out five tests where this PR's base has them. They fail on main 689f2db too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. These are heap_window_out_of_memory_falls_back_to_the_switch_form (#1651) and the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests (follow-up on #1651). The AMD run does not set XCL_REQUIRE_GPU.
  • In the first NVIDIA run, with another PR's suite running on the same machine, hle::d3d12x::real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state failed (real.rs, left != right with both 0). This PR does not touch D3D12.X, and the same test failed once the same way under load on #1735. The run above was alone on the machine and is clean.

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:7146936758 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7146936758). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T23:02:11Z. --- Full-suite run on NVIDIA and the AMD iGPU, to go with the targeted checks above. Tested exact head `89724e5` (on its base `c4d37be`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, 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 -- --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`: **955 passed, 0 failed, 43 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_f16_arithmetic_rounds_to_nearest_even`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **960 passed, 0 failed, 43 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). - On NVIDIA, `--skip` leaves out five tests where this PR's base has them. They fail on main `689f2db` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. These are `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651) and the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)). The AMD run does not set `XCL_REQUIRE_GPU`. - In the first NVIDIA run, with another PR's suite running on the same machine, `hle::d3d12x::real::readback_routing_tests::coherent_buffer_sanitizes_console_flags_and_state` failed (`real.rs`, `left != right` with both 0). This PR does not touch D3D12.X, and the same test failed once the same way under load on #1735. The run above was alone on the machine and is clean. **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.
DavidM1911 commented 2026-11-25 01:11:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T01:03:40Z.


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

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

Thanks!

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

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


Both AMD and NVIDIA GPU checks and CI are green on 89724e5.

Remaining before merge: please address @upipibi's review suggestion to route the new test through direct_or (or note why XCL_DIRECT_DXIL=1 parity should stay separate), after which this looks ready to merge.

<!-- greyfinch-sync:ivall/xcl:comment:7149240906 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7149240906). Originally posted by [raylitebull](https://github.com/raylitebull) on 2026-11-25T01:08:08Z. --- Both AMD and NVIDIA GPU checks and CI are green on `89724e5`. **Remaining before merge:** please address @upipibi's review suggestion to route the new test through `direct_or` (or note why `XCL_DIRECT_DXIL=1` parity should stay separate), after which this looks ready to merge.
JJAutoCompare commented 2026-11-25 04:10:28 +00:00 (Migrated from github.com)

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


XCL PR #1841 independent Arc A770 verification

Tested

  • PR #1841 was open at 89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b before and after the run. The reused detached checkout was clean at that SHA both times. The PR discussion and issue #42 contained no equivalent Arc report at the time of verification.
  • STOR-WINLAB ran Windows 11 Enterprise Evaluation 26200.9974 on an AMD Ryzen 7 3800X with Intel Arc A770 driver 32.0.101.9175. Cargo and rustc were 1.100.0 on x86_64-pc-windows-msvc. Cargo built the unoptimized test profile with debug info disabled. The fixture logged the loaded DXC and DXIL DLLs as 1.9.2609.5 from the configured directory.
  • gpu::recomp::tests::gpu_f16_arithmetic_rounds_to_nearest_even ran the HLSL/DXC path and finished in 0.76 s with 1 passed, 0 failed, 0 ignored, 0 explicit skips (933 filtered out). The checked-in loops compared eight GPU results per lane across 128 batches of 32 lanes against an exact integer reference. All 32,768 comparisons matched bit-for-bit, with 0 mismatches. The successful run reached the fixture's final assertion that the mismatch list was empty.
$run = 'L:/XclTooling/pr1841/run-20261125T032402225Z'
$env:Path = "$env:USERPROFILE/.cargo/bin;$env:Path"
$env:TMP = "$run/tmp"
$env:TEMP = $env:TMP
$env:CARGO_TARGET_DIR = 'L:/XclTooling/pr2014-1c971de6/target'
$env:CARGO_BUILD_JOBS = '2'
$env:CARGO_INCREMENTAL = '0'
$env:CARGO_PROFILE_DEV_DEBUG = '0'
$env:CARGO_PROFILE_TEST_DEBUG = '0'
$env:XCL_ADAPTER = 'A770'
$env:XCL_DIRECT_DXIL = '0'
$env:XCL_DXC_DIR = Join-Path $env:LOCALAPPDATA 'XclTooling/dxc-1.9.2609/bin/x64'
cargo test --locked -p xcl --lib --no-run
$env:XCL_DXIL_CACHE = "$run/dxil-cache"
$env:XCL_PR1841_TEST_EXE = 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe'
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -Command '& ''L:/XclTooling/Invoke-ArcTest.ps1'' -Test { & $env:XCL_PR1841_TEST_EXE ''gpu::recomp::tests::gpu_f16_arithmetic_rounds_to_nearest_even'' --exact --nocapture --test-threads=1 }; exit $LASTEXITCODE'

The prebuild ran outside the mutex. The test wrapper logged mutex acquisition and release, and the process exited 0. The run directory contains cargo.log, gpu.stdout.log, and gpu.stderr.log.

Not tested

Direct DXIL, other adapters or drivers, other fixtures, the full suite, and retail-title smoke runs.

AI use

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

<!-- greyfinch-sync:ivall/xcl:comment:7151935595 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7151935595). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T03:27:43Z. --- ## XCL PR #1841 independent Arc A770 verification **Tested** - PR #1841 was open at `89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b` before and after the run. The reused detached checkout was clean at that SHA both times. The PR discussion and issue #42 contained no equivalent Arc report at the time of verification. - STOR-WINLAB ran Windows 11 Enterprise Evaluation `26200.9974` on an AMD Ryzen 7 3800X with Intel Arc A770 driver `32.0.101.9175`. Cargo and rustc were `1.100.0` on `x86_64-pc-windows-msvc`. Cargo built the unoptimized test profile with debug info disabled. The fixture logged the loaded DXC and DXIL DLLs as `1.9.2609.5` from the configured directory. - `gpu::recomp::tests::gpu_f16_arithmetic_rounds_to_nearest_even` ran the HLSL/DXC path and finished in 0.76 s with **1 passed, 0 failed, 0 ignored, 0 explicit skips** (933 filtered out). The checked-in loops compared eight GPU results per lane across 128 batches of 32 lanes against an exact integer reference. All **32,768 comparisons matched bit-for-bit**, with **0 mismatches**. The successful run reached the fixture's final assertion that the mismatch list was empty. ```powershell $run = 'L:/XclTooling/pr1841/run-20261125T032402225Z' $env:Path = "$env:USERPROFILE/.cargo/bin;$env:Path" $env:TMP = "$run/tmp" $env:TEMP = $env:TMP $env:CARGO_TARGET_DIR = 'L:/XclTooling/pr2014-1c971de6/target' $env:CARGO_BUILD_JOBS = '2' $env:CARGO_INCREMENTAL = '0' $env:CARGO_PROFILE_DEV_DEBUG = '0' $env:CARGO_PROFILE_TEST_DEBUG = '0' $env:XCL_ADAPTER = 'A770' $env:XCL_DIRECT_DXIL = '0' $env:XCL_DXC_DIR = Join-Path $env:LOCALAPPDATA 'XclTooling/dxc-1.9.2609/bin/x64' cargo test --locked -p xcl --lib --no-run $env:XCL_DXIL_CACHE = "$run/dxil-cache" $env:XCL_PR1841_TEST_EXE = 'L:/XclTooling/pr2014-1c971de6/target/debug/build/xcl/77aca8ccb20e299f/out/xcl-77aca8ccb20e299f.exe' powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -Command '& ''L:/XclTooling/Invoke-ArcTest.ps1'' -Test { & $env:XCL_PR1841_TEST_EXE ''gpu::recomp::tests::gpu_f16_arithmetic_rounds_to_nearest_even'' --exact --nocapture --test-threads=1 }; exit $LASTEXITCODE' ``` The prebuild ran outside the mutex. The test wrapper logged mutex acquisition and release, and the process exited `0`. The run directory contains `cargo.log`, `gpu.stdout.log`, and `gpu.stderr.log`. **Not tested** Direct DXIL, other adapters or drivers, other fixtures, the full suite, and retail-title smoke runs. **AI use** T3 Code / Codex (`gpt-6.2-sol`) ran the checked-in fixture and wrote this report.
github-actions[bot] commented 2026-11-28 08:01:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:01:52Z.


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:7236316041 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7236316041). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T08:01:52Z. --- 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.
throny commented 2026-11-29 01:09:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-29T01:09:17Z.


merge-check claim
head: 89724e5d42

<!-- greyfinch-sync:ivall/xcl:comment:7248596321 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7248596321). Originally posted by [throny](https://github.com/throny) on 2026-11-29T01:09:17Z. --- merge-check claim head: 89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b
throny commented 2026-11-29 01:21:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-29T01:21:39Z.


merge-check
base: fa204595
head: 89724e5d42
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2609 passed, 0 failed, 49 ignored (27 SKIPPED lines). Base alone at fa204595: 2608 passed, 0 failed, 49 ignored. The three-way merge into main is clean (a plain patch apply fails on one hunk: main added a line next to it).
review: the code it adds is right as far as read: rounding the f32 result to nearest even is safe for add, sub and ldexp, and the fused form builds a round-to-odd intermediate correctly. What blocks is its reach. It changes only the HLSL path, and compute, vertex and pixel shaders go through the direct-DXIL path by default now; there add, sub, fma and ldexp still narrow by truncation (only the multiply forms round correctly). So the default path keeps the bug and the two paths give different results. This was raised in the thread and named as the remaining item before merge; it is unanswered and the head has not changed. Relation to #672 (checked safe today): no conflict in meaning (#672 makes ldexp exact before the narrowing, this PR rounds the narrowing), but they touch neighbouring lines, so the second to land needs a trivial rebase; #672 first is the simpler order. The cost of the software rounding per f16 add/sub/fma has not been measured by anyone.
performance: more shader work per f16 add, sub, fma and ldexp on the HLSL path; unmeasured. It changes a translator source: every tester re-translates all shaders once.
verdict: not yet: the same rounding on the direct-DXIL path (the default), as asked in the thread.
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:7248731294 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7248731294). Originally posted by [throny](https://github.com/throny) on 2026-11-29T01:21:39Z. --- merge-check base: fa204595 head: 89724e5d42699db4b7c6d1d4d8f8a3abd0aee07b merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2609 passed, 0 failed, 49 ignored (27 SKIPPED lines). Base alone at fa204595: 2608 passed, 0 failed, 49 ignored. The three-way merge into main is clean (a plain patch apply fails on one hunk: main added a line next to it). review: the code it adds is right as far as read: rounding the f32 result to nearest even is safe for add, sub and ldexp, and the fused form builds a round-to-odd intermediate correctly. What blocks is its reach. It changes only the HLSL path, and compute, vertex and pixel shaders go through the direct-DXIL path by default now; there add, sub, fma and ldexp still narrow by truncation (only the multiply forms round correctly). So the default path keeps the bug and the two paths give different results. This was raised in the thread and named as the remaining item before merge; it is unanswered and the head has not changed. Relation to #672 (checked safe today): no conflict in meaning (#672 makes ldexp exact before the narrowing, this PR rounds the narrowing), but they touch neighbouring lines, so the second to land needs a trivial rebase; #672 first is the simpler order. The cost of the software rounding per f16 add/sub/fma has not been measured by anyone. performance: more shader work per f16 add, sub, fma and ldexp on the HLSL path; unmeasured. It changes a translator source: every tester re-translates all shaders once. verdict: not yet: the same rounding on the direct-DXIL path (the default), as asked in the thread. 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).
Grimkaaah commented 2026-11-30 12:05:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Grimkaaah on 2026-11-30T12:05:27Z.


I compared this with the f16 rounding in my project, a D3D12 translator for the same RDNA2 code, where f16 results computed in f32 go through a round-to-nearest-even helper. I modelled f32_to_f16_rm and fma_rto bit for bit in Python (numpy float32 for the f32 steps) against an exact rational reference, and read current main (9dfbe3e) for what the rebase will meet.

What I checked, all fine:

  • Add, sub and ldexp: an f32 result rounded once more to nearest gives the correctly rounded f16. 40,000 random adds with the smaller operand 0-25 binades down: 0 wrong.
  • fma_rto: the product of two halves is exact, TwoSum gives the exact error, and the round-to-odd step goes toward the exact value in both signs. Every intermediate is a multiple of 2^-48, so none is an f32 denormal that a GPU could flush. 60,000 random fmas in each of the four modes (c near the product, or 8-15 binades above it): 0 wrong. Inf/NaN skip the fix-up, as they should.

Findings:

  1. emit.rs:2735 and emit.rs:2971-2974, when dyn_rm is set: add, sub, subrev and v_pk_add_f16 still round twice under a directed mode. The f32 sum is already rounded to nearest, and the 2p+2 argument only holds when the second rounding is also to nearest. Examples: under RTZ v_add_f16(0x3C01, 0x8001) gives 0x3C01, want 0x3C00. Under round-up v_add_f16(0x3C00, 0x0001) gives 0x3C00, want 0x3C01. In the model about 0.5% of those random adds come out wrong in each directed mode (204, 214 and 237 of 40,000). This is not new here, but the new comment says "rounded once, right", and fma_rto is already right in every mode. Fix: when dyn_rm is set, emit fma_rto(a, 1.0f, b) for these four ops. The default path's text stays as it is. gpu_s_round_mode_controls_f16_rounding_across_modes could take the two pairs above.
  2. main emit.rs:1136-1139 (x64_reduction_expr32, the split-wave64 reduction-tail fold): V_ADD_F16 is computed there with to_f16_expr, but the same instruction, emitted through self.inst, will round with this PR. After the rebase, the readlane of lane L^32 (s2) can be one ulp below the VGPR it reads. The three-way merge is clean, so nothing flags this. Fix: to_f16_rounded_expr there too.
  3. emit.rs:2028: v_interp_p2_f16 still uses to_f16_expr, and the description's "Not in it" list doesn't mention it. A pixel shader's f16 interpolation result is still truncated on NVIDIA. The host's f32 interpolation is already rounded, so to_f16_rounded_expr is the whole fix (my project does the same at this site). On main the direct path has the same call at dxil/lower_gfx.rs:438 (self.to_f16(xf)).
  4. emit.rs:3343-3344 (v_fma_mixlo/hi_f16) is out of scope per the description, but one case is cheap to fix. When all three OP_SEL_HI bits are set, every source is a half, so fma_rto applies unchanged. A plain RNE on the mad result would round twice: for your own example, 0x3C01 * 0x0FFE + 0x3C01, mad + RNE gives 0x3C02, want 0x3C01 (today's truncation happens to give 0x3C01). With an f32 source the product isn't exact, so to_f16_rounded_expr there at least removes the truncation.
  5. On "Not tested: AMD": in my project we measured f32tof16 rounding toward zero on an RX 7900 XTX (RDNA3) too: 0x3C00 + 0x83FF gave 0x3BFF, want 0x3C00. So the change matters on AMD as well, and that pair is a quick check there.

Not checked: we haven't run this PR on a GPU. Also not checked: NaN payloads, omod at the f16 subnormal boundary, the f16 transcendentals and v_cvt_f16_[iu]16 (#515). The direct-DXIL gap is already raised in this thread.

AI use: Claude Code (Claude Opus 5.5) reviewed this by comparing it with the same mechanism in my project, Victory Grimkaaah.

<!-- greyfinch-sync:ivall/xcl:comment:7277930581 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7277930581). Originally posted by [Grimkaaah](https://github.com/Grimkaaah) on 2026-11-30T12:05:27Z. --- I compared this with the f16 rounding in my project, a D3D12 translator for the same RDNA2 code, where f16 results computed in f32 go through a round-to-nearest-even helper. I modelled `f32_to_f16_rm` and `fma_rto` bit for bit in Python (numpy float32 for the f32 steps) against an exact rational reference, and read current `main` (`9dfbe3e`) for what the rebase will meet. What I checked, all fine: - Add, sub and ldexp: an f32 result rounded once more to nearest gives the correctly rounded f16. 40,000 random adds with the smaller operand 0-25 binades down: 0 wrong. - `fma_rto`: the product of two halves is exact, TwoSum gives the exact error, and the round-to-odd step goes toward the exact value in both signs. Every intermediate is a multiple of 2^-48, so none is an f32 denormal that a GPU could flush. 60,000 random fmas in each of the four modes (c near the product, or 8-15 binades above it): 0 wrong. Inf/NaN skip the fix-up, as they should. Findings: 1. emit.rs:2735 and emit.rs:2971-2974, when `dyn_rm` is set: add, sub, subrev and `v_pk_add_f16` still round twice under a directed mode. The f32 sum is already rounded to nearest, and the 2p+2 argument only holds when the second rounding is also to nearest. Examples: under RTZ `v_add_f16(0x3C01, 0x8001)` gives 0x3C01, want 0x3C00. Under round-up `v_add_f16(0x3C00, 0x0001)` gives 0x3C00, want 0x3C01. In the model about 0.5% of those random adds come out wrong in each directed mode (204, 214 and 237 of 40,000). This is not new here, but the new comment says "rounded once, right", and `fma_rto` is already right in every mode. Fix: when `dyn_rm` is set, emit `fma_rto(a, 1.0f, b)` for these four ops. The default path's text stays as it is. `gpu_s_round_mode_controls_f16_rounding_across_modes` could take the two pairs above. 2. `main` emit.rs:1136-1139 (`x64_reduction_expr32`, the split-wave64 reduction-tail fold): `V_ADD_F16` is computed there with `to_f16_expr`, but the same instruction, emitted through `self.inst`, will round with this PR. After the rebase, the readlane of lane L^32 (`s2`) can be one ulp below the VGPR it reads. The three-way merge is clean, so nothing flags this. Fix: `to_f16_rounded_expr` there too. 3. emit.rs:2028: `v_interp_p2_f16` still uses `to_f16_expr`, and the description's "Not in it" list doesn't mention it. A pixel shader's f16 interpolation result is still truncated on NVIDIA. The host's f32 interpolation is already rounded, so `to_f16_rounded_expr` is the whole fix (my project does the same at this site). On `main` the direct path has the same call at dxil/lower_gfx.rs:438 (`self.to_f16(xf)`). 4. emit.rs:3343-3344 (`v_fma_mixlo/hi_f16`) is out of scope per the description, but one case is cheap to fix. When all three `OP_SEL_HI` bits are set, every source is a half, so `fma_rto` applies unchanged. A plain RNE on the `mad` result would round twice: for your own example, 0x3C01 * 0x0FFE + 0x3C01, mad + RNE gives 0x3C02, want 0x3C01 (today's truncation happens to give 0x3C01). With an f32 source the product isn't exact, so `to_f16_rounded_expr` there at least removes the truncation. 5. On "Not tested: AMD": in my project we measured `f32tof16` rounding toward zero on an RX 7900 XTX (RDNA3) too: 0x3C00 + 0x83FF gave 0x3BFF, want 0x3C00. So the change matters on AMD as well, and that pair is a quick check there. Not checked: we haven't run this PR on a GPU. Also not checked: NaN payloads, omod at the f16 subnormal boundary, the f16 transcendentals and `v_cvt_f16_[iu]16` (#515). The direct-DXIL gap is already raised in this thread. AI use: Claude Code (Claude Opus 5.5) reviewed this by comparing it with the same mechanism in my project, Victory Grimkaaah.
Foniass commented 2026-12-01 06:57:28 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 89724e5

#842 overlaps: it makes every f16 result round to nearest even in the default mode, in both backends (to_f16_expr, prelude.rs), but leaves fma as an f32 mad that rounds twice. #128 rounds add/fma once, only under a program-set MODE[3:2].
This PR covers add/sub/ldexp/fma in the HLSL path only, with fma rounded to odd first (fma_rto), so the three solve the problem differently.
The comment in emit.rs says the f32 sum is 'rounded once, right'. That holds only for nearest-even. Under a directed MODE, 1.0 + 2^-24 rounds to 1.0 in f32, then upward rounding gives 1.0 instead of 0x3C01. That behaviour was already there and #128 handles it.
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:7303478596 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1841#issuecomment-7303478596). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:57:28Z. --- **Triage (#1607)** – head 89724e5 #842 overlaps: it makes every f16 result round to nearest even in the default mode, in both backends (`to_f16_expr`, `prelude.rs`), but leaves fma as an f32 `mad` that rounds twice. #128 rounds add/fma once, only under a program-set MODE[3:2]. This PR covers add/sub/ldexp/fma in the HLSL path only, with fma rounded to odd first (`fma_rto`), so the three solve the problem differently. The comment in `emit.rs` says the f32 sum is 'rounded once, right'. That holds only for nearest-even. Under a directed MODE, 1.0 + 2^-24 rounds to 1.0 in f32, then upward rounding gives 1.0 instead of 0x3C01. That behaviour was already there and #128 handles it. 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/1841:upstream-pr/1841'
git switch 'upstream-pr/1841'

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