fix(shader): select the completed difference for SDWA subtract with borrow #2842

Merged
brainbudt merged 1 commit from upstream-pr/2850 into main 2026-11-26 13:51:40 +00:00
brainbudt commented 2026-11-26 13:39:27 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by brainbudt on 2026-11-26T13:39:27Z.


Problem

On the RX 5700 XT with driver 32.0.21045.29003, the uniform SDWA add-to-subtract chain in #2731 returned the subtrahend in channel 1 for all three fixture rows. Supplying the same borrow through the constant buffer gave the expected words.

Change

Use the incoming VCC predicate to select the completed 32-bit difference: with a borrow, ~(b - a) equals a - b - 1 modulo 2^32; without a borrow, use a - b. DXC 1.9.2602.17 emits a select in the optimized pixel shader. The existing borrow-out calculation and SDWA destination placement still apply.

Scope

Refs #2731. Changes the pixel AOT lowering of v_sub_co_ci_u32_sdwa and adds a static regression control to the existing integer SDWA fixture. Hardware verification on RX 5700 XT (ctest --preset dev --no-tests=error -R '^pixel_aot_sdwa_int_extra_hardware$' -V) is requested.

Verification

  • macOS ARM64: python3 -B tests/pixel_aot_check.py passed (including after rebasing onto 2c56d89); the new control failed against the original lowering and passed with the patch.
  • Linux x86-64: all 208 python-linux checks and all 134 LLVM 15.0.7 pixel-binary checks passed.
  • Windows x64 (WARP 10.0.26100.9818, DXC 1.9.2602.17): draw-sdwa-int-extra passed and detected all 13 mutants; separate draws matched all four channels across all 4,096 pixels per row (channel 1: 0000fffc, 00000005, 0000ffff).

Reviewed with mistral-loop: APPROVE (1 round, mistral-large-4-0 + deepseek-v4-1-flash-1017).
Created with gpt-6.2-astra in Codex (orchestrated with Gemini 4 Neon in T3 Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6627885174 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2850). Originally posted by [brainbudt](https://github.com/brainbudt) on 2026-11-26T13:39:27Z. --- ## Problem On the RX 5700 XT with driver 32.0.21045.29003, the uniform SDWA add-to-subtract chain in #2731 returned the subtrahend in channel 1 for all three fixture rows. Supplying the same borrow through the constant buffer gave the expected words. ## Change Use the incoming VCC predicate to select the completed 32-bit difference: with a borrow, `~(b - a)` equals `a - b - 1` modulo 2^32; without a borrow, use `a - b`. DXC 1.9.2602.17 emits a select in the optimized pixel shader. The existing borrow-out calculation and SDWA destination placement still apply. ## Scope Refs #2731. Changes the pixel AOT lowering of `v_sub_co_ci_u32_sdwa` and adds a static regression control to the existing integer SDWA fixture. Hardware verification on RX 5700 XT (`ctest --preset dev --no-tests=error -R '^pixel_aot_sdwa_int_extra_hardware$' -V`) is requested. ## Verification - macOS ARM64: `python3 -B tests/pixel_aot_check.py` passed (including after rebasing onto `2c56d89`); the new control failed against the original lowering and passed with the patch. - Linux x86-64: all 208 `python-linux` checks and all 134 LLVM 15.0.7 `pixel-binary` checks passed. - Windows x64 (WARP 10.0.26100.9818, DXC 1.9.2602.17): `draw-sdwa-int-extra` passed and detected all 13 mutants; separate draws matched all four channels across all 4,096 pixels per row (channel 1: `0000fffc`, `00000005`, `0000ffff`). --- Reviewed with mistral-loop: APPROVE (1 round, `mistral-large-4-0` + `deepseek-v4-1-flash-1017`). Created with gpt-6.2-astra in Codex (orchestrated with Gemini 4 Neon in T3 Code).
upstream-sync closed this pull request 2026-11-26 14:00:34 +00:00
tedin7 commented 2026-11-26 14:00:34 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T13:51:08Z.

Review: COMMENTED


Review of head 8ef66710 against current main.

What I checked:

  • Math: with a borrow, ~(b - a) in uint arithmetic is a - b - 1, which is the sub_co_ci result. Without a borrow the result stays a - b (cp). The borrow-out and SDWA destination placement are unchanged.
  • Scope: only v_sub_co_ci_u32_sdwa changes. subrev and add keep the table template. If the same driver behavior shows on subrev, it would need its own slice (not required here).
  • Test: the new assert in check_sdwa_int_extra_controls pins the select expression. Mutating the fix back to cp - ci makes tests/pixel_aot_check.py fail (rc 1, control sub-check check_sdwa_int_extra_controls). The assert is a text check, but the value path is executed by the existing pixel_aot_sdwa_int_extra_warp / _hardware tests, which pass.
  • No other open or merged PR covers this slice (searched SDWA / borrow; only #859 and #779, which added the original lowering).

Commands executed locally:

  • python3 -B tests/pixel_aot_check.py rc 0
  • python3 -B tests/startup_gfx2hlsl_add_sub_co_ci_check.py ok
  • python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py ok
  • git diff --check origin/main...HEAD clean
  • Win2025 WARP dev + release: ctest -R '^pixel_aot_' 202/202 both, receipt in the next comment.

Real-GPU run not available (RunPod stopped). The RX 5700 XT result the PR asks for stays with someone who has that card.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6075271985 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2850#pullrequestreview-6075271985). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T13:51:08Z. **Review:** COMMENTED --- Review of head 8ef66710 against current main. What I checked: - Math: with a borrow, `~(b - a)` in uint arithmetic is `a - b - 1`, which is the `sub_co_ci` result. Without a borrow the result stays `a - b` (`cp`). The borrow-out and SDWA destination placement are unchanged. - Scope: only `v_sub_co_ci_u32_sdwa` changes. `subrev` and `add` keep the table template. If the same driver behavior shows on `subrev`, it would need its own slice (not required here). - Test: the new assert in `check_sdwa_int_extra_controls` pins the select expression. Mutating the fix back to `cp - ci` makes `tests/pixel_aot_check.py` fail (rc 1, control sub-check `check_sdwa_int_extra_controls`). The assert is a text check, but the value path is executed by the existing `pixel_aot_sdwa_int_extra_warp` / `_hardware` tests, which pass. - No other open or merged PR covers this slice (searched SDWA / borrow; only #859 and #779, which added the original lowering). Commands executed locally: - `python3 -B tests/pixel_aot_check.py` rc 0 - `python3 -B tests/startup_gfx2hlsl_add_sub_co_ci_check.py` ok - `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py` ok - `git diff --check origin/main...HEAD` clean - Win2025 WARP dev + release: `ctest -R '^pixel_aot_'` 202/202 both, receipt in the next comment. Real-GPU run not available (RunPod stopped). The RX 5700 XT result the PR asks for stays with someone who has that card. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 14:00:38 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T13:51:09Z.


Win2025 WARP receipt for head 8ef66710. Tests that cover the change: pixel_aot_sdwa_int_extra_warp (dev + release) and pixel_aot_sdwa_int_extra_hardware (WARP adapter), plus tests/pixel_aot_check.py.
Real-GPU run not available (RunPod stopped).

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit 8ef6671057be36c97a72b5cb4f7d23c200ff5a89:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset dev -R '^pixel_aot_' --parallel 2 --no-tests=error --output-on-failure): 202/202 passed (296.14s: pixel_aot_bits_warp 14.18s, pixel_aot_warp 16.19s, pixel_aot_three_way_warp 7.60s, pixel_aot_core_vector_warp 16.80s, pixel_aot_buffer_color_warp 7.79s, pixel_aot_predicate_rounding_warp 8.17s, pixel_aot_comparisons_warp 10.65s, pixel_aot_cvt_f64_f32_warp 6.30s, pixel_aot_compare_warp 12.25s, pixel_aot_blend_scalar_warp 8.90s, pixel_aot_blend_scalar_hardware 10.65s, pixel_aot_cmpx_regions_warp 11.35s, pixel_aot_e64_warp 7.76s, pixel_aot_exec_regions_warp 5.15s, pixel_aot_f16_arith_warp 7.20s, pixel_aot_cmpx_e64_warp 7.02s, pixel_aot_cvt_flr_rpi_warp 5.21s, pixel_aot_cvt_int_f64_warp 4.40s, pixel_aot_gather_warp 3.54s, pixel_aot_dpp_f16_warp 6.83s, pixel_aot_sample_coarse_gradient_warp 2.91s, pixel_aot_cmp_f64_warp 4.06s, pixel_aot_f16_round_warp 4.67s, pixel_aot_shift64_warp 4.80s, pixel_aot_compare_gather_warp 4.27s, pixel_aot_f16_fmac_ldexp_warp 4.32s, pixel_aot_dpp_extra_warp 3.88s, pixel_aot_compare_sample_warp 3.15s, pixel_aot_int16_ternary_warp 2.96s, pixel_aot_dpp_cvt_warp 2.67s, pixel_aot_sample_gradient_warp 2.79s, pixel_aot_f16_cvt_int16_warp 2.39s, pixel_aot_mac_legacy_warp 1.53s, pixel_aot_cmp64_warp 3.45s, pixel_aot_region_body_warp 2.59s, pixel_aot_cvt_float_int_e64_warp 2.18s, pixel_aot_cvt_f64_int_warp 3.28s, pixel_aot_f16_to_int16_warp 1.79s, pixel_aot_sample_offset_warp 2.11s, pixel_aot_cvt_f32_f64_warp 1.67s, pixel_aot_div_fmas_warp 1.39s, pixel_aot_sample_lod_warp 2.13s, pixel_aot_get_lod_warp 1.89s, pixel_aot_region_scalar_load_warp 1.88s, pixel_aot_scc_skip_warp 4.14s, pixel_aot_pk_fmac_warp 3.65s, pixel_aot_dmask_warp 1.99s, pixel_aot_e64_spellings_warp 1.50s, pixel_aot_pack_int16_warp 1.22s, pixel_aot_plain_movrel_warp 2.07s, pixel_aot_rndne_warp 3.35s, pixel_aot_bitset64_warp 3.37s, pixel_aot_dpp_movrel_warp 1.94s, pixel_aot_int16_vop3_warp 2.23s, pixel_aot_compare_lod_bias_hardware 2.44s, pixel_aot_compare_lod_level_hardware 2.48s, pixel_aot_compare_lod_level_warp 3.85s, pixel_aot_compare_lod_bias_warp 4.12s, pixel_aot_vop3_ternary_int_warp 2.14s, pixel_aot_sdwa_f16_warp 3.70s, pixel_aot_u32_from_f32_warp 3.12s, pixel_aot_pack_b32_warp 1.11s, pixel_aot_align_warp 2.72s, pixel_aot_bfm_warp 1.13s, pixel_aot_plain_bitscan_warp 1.76s, pixel_aot_swaprel_warp 1.37s, pixel_aot_first_bit_warp 1.85s, pixel_aot_sdwa_movrel_warp 1.69s, pixel_aot_flat_scratch_warp 1.43s, pixel_aot_uncompressed_integer_export_warp 1.14s, pixel_aot_title_loads_warp 2.27s, pixel_aot_attribute_warp 1.44s, pixel_aot_smovrel_warp 1.98s, pixel_aot_uncompressed_export_warp 1.79s, pixel_aot_s_call_warp 1.64s, pixel_aot_region_waits_warp 1.65s, pixel_aot_sdwa_integer_warp 2.33s, pixel_aot_region_scalar_alu_warp 2.05s, pixel_aot_mad64_warp 1.86s, pixel_aot_swap_warp 1.70s, pixel_aot_sdwa_cmp_warp 1.74s, pixel_aot_sdwa_unary_warp 1.97s, pixel_aot_brev_warp 1.74s, pixel_aot_carry_in_warp 1.67s, pixel_aot_frexp_exp_warp 1.68s, pixel_aot_carry_out_warp 1.53s, pixel_aot_sad_warp 1.68s, pixel_aot_e64_integer_warp 1.36s, pixel_aot_attribute_sampled_warp 1.06s, pixel_aot_compressed_export_warp 1.55s, pixel_aot_sdwa_int_compare_warp 2.02s, pixel_aot_ds_swizzle_warp 1.13s, pixel_aot_integer_nc_warp 1.54s, pixel_aot_smem_pointers_warp 1.25s, pixel_aot_e64_approx_warp 1.43s, pixel_aot_vop1_nops_warp 1.32s, pixel_aot_sopp_round_mode_warp 1.12s, pixel_aot_sample_clamp_controls 0.98s, pixel_aot_sopk_hwreg_warp 1.30s, pixel_aot_sample_clamp_compile 6.86s, pixel_aot_hardware 11.43s, pixel_aot_core_vector_hardware 5.53s, pixel_aot_dpp_cvt_hardware 2.41s, pixel_aot_dpp_movrel_hardware 1.74s, pixel_aot_swaprel_hardware 1.47s, pixel_aot_plain_movrel_hardware 2.07s, pixel_aot_sdwa_movrel_hardware 1.59s, pixel_aot_smovrel_hardware 1.41s, pixel_aot_sdwa_f16_hardware 2.47s, pixel_aot_dpp_f16_hardware 4.72s, pixel_aot_sdwa_int_extra_hardware 2.77s, pixel_aot_sdwa_cvt_hardware 3.11s, pixel_aot_f16_exact_extra_hardware 4.14s, pixel_aot_compressed_export_hardware 0.74s, pixel_aot_dpp_extra_hardware 1.91s, pixel_aot_uncompressed_export_hardware 0.84s, pixel_aot_ds_swizzle_hardware 0.70s, pixel_aot_uncompressed_integer_export_hardware 0.91s, pixel_aot_scc_skip_hardware 1.22s, pixel_aot_s_call_hardware 0.84s, pixel_aot_exec_regions_hardware 3.58s, pixel_aot_cmpx_regions_hardware 5.68s, pixel_aot_cmpx_e64_hardware 4.65s, pixel_aot_region_waits_hardware 0.85s, pixel_aot_region_body_hardware 1.61s, pixel_aot_region_scalar_alu_hardware 0.85s, pixel_aot_region_scalar_load_hardware 3.87s, pixel_aot_u32_from_f32_hardware 2.17s, pixel_aot_buffer_color_hardware 5.90s, pixel_aot_attribute_hardware 0.90s, pixel_aot_attribute_sampled_hardware 0.64s, pixel_aot_dmask_hardware 1.45s, pixel_aot_sample_lod_hardware 1.65s, pixel_aot_sample_offset_hardware 2.00s, pixel_aot_sample_gradient_hardware 2.63s, pixel_aot_sample_coarse_gradient_hardware 6.34s, pixel_aot_three_way_hardware 5.82s, pixel_aot_predicate_rounding_hardware 3.67s, pixel_aot_sdwa_cmp_hardware 0.79s, pixel_aot_comparisons_hardware 4.97s, pixel_aot_sdwa_int_compare_hardware 0.86s, pixel_aot_bfm_hardware 0.66s, pixel_aot_get_lod_hardware 1.31s, pixel_aot_brev_hardware 0.77s, pixel_aot_smem_pointers_hardware 0.65s, pixel_aot_cmp64_hardware 1.92s, pixel_aot_cmp_f64_hardware 2.72s, pixel_aot_pk_fmac_hardware 0.96s, pixel_aot_shift64_hardware 2.71s, pixel_aot_plain_bitscan_hardware 1.00s, pixel_aot_int16_vop3_hardware 1.11s, pixel_aot_int16_ternary_hardware 1.74s, pixel_aot_f16_arith_hardware 2.78s, pixel_aot_f16_round_hardware 2.01s, pixel_aot_f16_fmac_ldexp_hardware 1.74s, pixel_aot_f16_cvt_int16_hardware 1.45s, pixel_aot_swap_hardware 0.75s, pixel_aot_f16_to_int16_hardware 1.03s, pixel_aot_cvt_float_int_e64_hardware 1.16s, pixel_aot_flat_scratch_hardware 0.94s, pixel_aot_sopk_hwreg_hardware 0.57s, pixel_aot_cvt_flr_rpi_hardware 2.96s, pixel_aot_sopp_round_mode_hardware 0.59s, pixel_aot_e64_approx_hardware 0.64s, pixel_aot_sdwa_unary_hardware 0.93s, pixel_aot_mac_legacy_hardware 0.85s, pixel_aot_integer_nc_hardware 0.69s, pixel_aot_e64_hardware 3.45s, pixel_aot_align_hardware 1.11s, pixel_aot_title_loads_hardware 1.51s, pixel_aot_e64_integer_hardware 0.71s, pixel_aot_vop3_ternary_int_hardware 1.21s, pixel_aot_sdwa_integer_hardware 0.90s, pixel_aot_e64_spellings_hardware 0.93s, pixel_aot_vop1_nops_hardware 0.59s, pixel_aot_frexp_exp_hardware 0.82s, pixel_aot_first_bit_hardware 1.07s, pixel_aot_bitset64_hardware 1.15s, pixel_aot_carry_out_hardware 0.75s, pixel_aot_carry_in_hardware 0.79s, pixel_aot_mad64_hardware 0.84s, pixel_aot_cvt_f64_int_hardware 2.14s, pixel_aot_cvt_f64_f32_hardware 4.13s, pixel_aot_cvt_int_f64_hardware 3.04s, pixel_aot_cvt_f32_f64_hardware 1.19s, pixel_aot_sad_hardware 0.81s, pixel_aot_pack_int16_hardware 0.65s, pixel_aot_rndne_hardware 1.29s, pixel_aot_pack_b32_hardware 0.62s, pixel_aot_compare_grad_hardware 2.47s, pixel_aot_compare_sample_hardware 2.30s, pixel_aot_gather_hardware 2.58s, pixel_aot_compare_gather_hardware 2.50s, pixel_aot_sdwa_int_extra_warp 1.37s, pixel_aot_f16_exact_extra_warp 1.91s, pixel_aot_sdwa_cvt_warp 1.65s, pixel_aot_compare_grad_warp 2.50s, pixel_aot_div_fmas_hardware 0.91s, pixel_aot_compare_hardware 13.13s, pixel_aot_bits_hardware 7.43s, pixel_aot_sample_clamp_hardware 2.73s, pixel_aot_sample_clamp_warp 2.71s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release -- -j 2): 0.00s (configure 0.00s)
    • Test (ctest --preset release -R '^pixel_aot_' --parallel 2 --no-tests=error --output-on-failure): 202/202 passed (206.37s: pixel_aot_warp 10.62s, pixel_aot_bits_warp 11.41s, pixel_aot_three_way_warp 5.21s, pixel_aot_core_vector_warp 6.10s, pixel_aot_buffer_color_warp 5.03s, pixel_aot_predicate_rounding_warp 6.39s, pixel_aot_comparisons_warp 4.35s, pixel_aot_blend_scalar_warp 4.62s, pixel_aot_compare_warp 9.18s, pixel_aot_blend_scalar_hardware 4.67s, pixel_aot_cvt_f64_f32_warp 3.87s, pixel_aot_sdwa_int_compare_warp 0.83s, pixel_aot_cmpx_regions_warp 4.41s, pixel_aot_e64_warp 3.16s, pixel_aot_cvt_flr_rpi_warp 2.78s, pixel_aot_cmpx_e64_warp 3.52s, pixel_aot_f16_arith_warp 2.70s, pixel_aot_exec_regions_warp 2.89s, pixel_aot_cvt_int_f64_warp 2.79s, pixel_aot_dpp_f16_warp 2.94s, pixel_aot_cmp_f64_warp 2.43s, pixel_aot_f16_round_warp 1.97s, pixel_aot_shift64_warp 2.29s, pixel_aot_gather_warp 2.52s, pixel_aot_compare_gather_warp 2.40s, pixel_aot_cvt_f64_int_warp 1.95s, pixel_aot_f16_fmac_ldexp_warp 1.67s, pixel_aot_compare_sample_warp 2.24s, pixel_aot_dpp_extra_warp 1.60s, pixel_aot_cmp64_warp 1.67s, pixel_aot_int16_ternary_warp 1.54s, pixel_aot_compare_lod_bias_hardware 1.42s, pixel_aot_sample_gradient_warp 2.20s, pixel_aot_compare_lod_level_hardware 1.41s, pixel_aot_f16_cvt_int16_warp 1.42s, pixel_aot_dpp_cvt_warp 1.27s, pixel_aot_sample_coarse_gradient_warp 2.25s, pixel_aot_region_body_warp 1.24s, pixel_aot_compare_lod_level_warp 1.40s, pixel_aot_sdwa_cmp_warp 0.74s, pixel_aot_compare_lod_bias_warp 1.43s, pixel_aot_cvt_float_int_e64_warp 1.10s, pixel_aot_sample_offset_warp 1.70s, pixel_aot_region_scalar_load_warp 0.93s, pixel_aot_pk_fmac_warp 0.92s, pixel_aot_scc_skip_warp 1.02s, pixel_aot_cvt_f32_f64_warp 1.12s, pixel_aot_f16_to_int16_warp 1.02s, pixel_aot_bitset64_warp 1.05s, pixel_aot_int16_vop3_warp 1.03s, pixel_aot_vop3_ternary_int_warp 1.08s, pixel_aot_plain_movrel_warp 1.02s, pixel_aot_title_loads_warp 1.39s, pixel_aot_align_warp 1.02s, pixel_aot_get_lod_warp 1.27s, pixel_aot_first_bit_warp 1.01s, pixel_aot_plain_bitscan_warp 0.92s, pixel_aot_sample_lod_warp 1.42s, pixel_aot_rndne_warp 1.22s, pixel_aot_mad64_warp 0.79s, pixel_aot_div_fmas_warp 0.87s, pixel_aot_flat_scratch_warp 0.86s, pixel_aot_sdwa_integer_warp 0.80s, pixel_aot_e64_spellings_warp 0.88s, pixel_aot_dpp_movrel_warp 0.82s, pixel_aot_sdwa_movrel_warp 0.83s, pixel_aot_mac_legacy_warp 0.79s, pixel_aot_dmask_warp 1.27s, pixel_aot_uncompressed_export_warp 0.72s, pixel_aot_smovrel_warp 0.76s, pixel_aot_s_call_warp 0.71s, pixel_aot_sdwa_unary_warp 0.87s, pixel_aot_carry_in_warp 0.75s, pixel_aot_region_scalar_alu_warp 0.70s, pixel_aot_frexp_exp_warp 0.78s, pixel_aot_swaprel_warp 0.70s, pixel_aot_swap_warp 0.72s, pixel_aot_region_waits_warp 0.71s, pixel_aot_sad_warp 0.73s, pixel_aot_uncompressed_integer_export_warp 0.72s, pixel_aot_e64_integer_warp 0.67s, pixel_aot_brev_warp 0.72s, pixel_aot_bfm_warp 0.66s, pixel_aot_carry_out_warp 0.69s, pixel_aot_u32_from_f32_warp 1.04s, pixel_aot_smem_pointers_warp 0.65s, pixel_aot_pack_int16_warp 0.63s, pixel_aot_integer_nc_warp 0.64s, pixel_aot_compressed_export_warp 0.64s, pixel_aot_e64_approx_warp 0.63s, pixel_aot_ds_swizzle_warp 0.60s, pixel_aot_pack_b32_warp 0.60s, pixel_aot_sopk_hwreg_warp 0.57s, pixel_aot_vop1_nops_warp 0.58s, pixel_aot_sopp_round_mode_warp 0.57s, pixel_aot_attribute_warp 0.71s, pixel_aot_attribute_sampled_warp 0.53s, pixel_aot_sample_clamp_controls 0.55s, pixel_aot_sample_clamp_compile 4.72s, pixel_aot_hardware 6.89s, pixel_aot_core_vector_hardware 2.86s, pixel_aot_dpp_movrel_hardware 0.81s, pixel_aot_dpp_cvt_hardware 1.29s, pixel_aot_swaprel_hardware 0.68s, pixel_aot_plain_movrel_hardware 1.03s, pixel_aot_sdwa_movrel_hardware 0.85s, pixel_aot_smovrel_hardware 0.77s, pixel_aot_sdwa_f16_hardware 1.50s, pixel_aot_sdwa_int_extra_hardware 1.29s, pixel_aot_dpp_f16_hardware 2.92s, pixel_aot_sdwa_cvt_hardware 1.48s, pixel_aot_f16_exact_extra_hardware 1.71s, pixel_aot_compressed_export_hardware 0.66s, pixel_aot_uncompressed_export_hardware 0.72s, pixel_aot_dpp_extra_hardware 1.64s, pixel_aot_uncompressed_integer_export_hardware 0.73s, pixel_aot_ds_swizzle_hardware 0.61s, pixel_aot_scc_skip_hardware 1.02s, pixel_aot_s_call_hardware 0.71s, pixel_aot_exec_regions_hardware 2.91s, pixel_aot_cmpx_regions_hardware 4.61s, pixel_aot_cmpx_e64_hardware 3.80s, pixel_aot_region_waits_hardware 0.80s, pixel_aot_region_body_hardware 1.41s, pixel_aot_region_scalar_alu_hardware 0.99s, pixel_aot_region_scalar_load_hardware 1.33s, pixel_aot_u32_from_f32_hardware 4.31s, pixel_aot_buffer_color_hardware 5.38s, pixel_aot_attribute_hardware 0.84s, pixel_aot_attribute_sampled_hardware 0.58s, pixel_aot_dmask_hardware 1.43s, pixel_aot_sample_lod_hardware 1.65s, pixel_aot_sample_offset_hardware 1.89s, pixel_aot_sample_gradient_hardware 2.42s, pixel_aot_sample_coarse_gradient_hardware 5.71s, pixel_aot_three_way_hardware 5.39s, pixel_aot_predicate_rounding_hardware 3.49s, pixel_aot_sdwa_cmp_hardware 0.81s, pixel_aot_sdwa_int_compare_hardware 0.88s, pixel_aot_comparisons_hardware 4.75s, pixel_aot_bfm_hardware 0.71s, pixel_aot_get_lod_hardware 1.35s, pixel_aot_brev_hardware 0.77s, pixel_aot_smem_pointers_hardware 0.69s, pixel_aot_cmp64_hardware 1.84s, pixel_aot_cmp_f64_hardware 2.60s, pixel_aot_pk_fmac_hardware 1.35s, pixel_aot_shift64_hardware 2.89s, pixel_aot_plain_bitscan_hardware 1.38s, pixel_aot_int16_vop3_hardware 1.45s, pixel_aot_int16_ternary_hardware 2.03s, pixel_aot_f16_arith_hardware 3.35s, pixel_aot_f16_round_hardware 2.36s, pixel_aot_f16_fmac_ldexp_hardware 1.82s, pixel_aot_f16_cvt_int16_hardware 1.46s, pixel_aot_swap_hardware 0.75s, pixel_aot_f16_to_int16_hardware 1.05s, pixel_aot_cvt_float_int_e64_hardware 1.18s, pixel_aot_flat_scratch_hardware 0.97s, pixel_aot_sopk_hwreg_hardware 0.66s, pixel_aot_cvt_flr_rpi_hardware 3.04s, pixel_aot_sopp_round_mode_hardware 0.63s, pixel_aot_e64_approx_hardware 0.68s, pixel_aot_sdwa_unary_hardware 0.97s, pixel_aot_mac_legacy_hardware 1.34s, pixel_aot_e64_hardware 3.89s, pixel_aot_integer_nc_hardware 0.84s, pixel_aot_align_hardware 1.31s, pixel_aot_title_loads_hardware 1.77s, pixel_aot_e64_integer_hardware 0.75s, pixel_aot_vop3_ternary_int_hardware 1.21s, pixel_aot_sdwa_integer_hardware 0.91s, pixel_aot_e64_spellings_hardware 1.00s, pixel_aot_vop1_nops_hardware 0.65s, pixel_aot_frexp_exp_hardware 0.93s, pixel_aot_first_bit_hardware 1.14s, pixel_aot_bitset64_hardware 1.19s, pixel_aot_carry_out_hardware 0.79s, pixel_aot_carry_in_hardware 0.80s, pixel_aot_mad64_hardware 0.86s, pixel_aot_cvt_f64_int_hardware 2.15s, pixel_aot_cvt_f64_f32_hardware 4.22s, pixel_aot_cvt_int_f64_hardware 3.07s, pixel_aot_cvt_f32_f64_hardware 1.22s, pixel_aot_sad_hardware 0.79s, pixel_aot_pack_int16_hardware 0.67s, pixel_aot_rndne_hardware 1.31s, pixel_aot_pack_b32_hardware 0.65s, pixel_aot_compare_grad_hardware 3.10s, pixel_aot_compare_sample_hardware 2.97s, pixel_aot_compare_gather_hardware 3.35s, pixel_aot_gather_hardware 3.62s, pixel_aot_sdwa_f16_warp 2.17s, pixel_aot_sdwa_int_extra_warp 1.90s, pixel_aot_f16_exact_extra_warp 2.57s, pixel_aot_sdwa_cvt_warp 2.07s, pixel_aot_compare_grad_warp 3.36s, pixel_aot_compare_hardware 13.30s, pixel_aot_div_fmas_hardware 1.22s, pixel_aot_bits_hardware 8.74s, pixel_aot_sample_clamp_hardware 3.28s, pixel_aot_sample_clamp_warp 2.81s)
  • Windows Python checks: tests/pixel_aot_check.py ok (14.7s)
  • sccache: 29/45 hits; wall 531.5s
    tested: 8ef66710 via fetch (pull/2850/head, no patch)

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7193926384 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2850#issuecomment-7193926384). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T13:51:09Z. --- Win2025 WARP receipt for head 8ef66710. Tests that cover the change: pixel_aot_sdwa_int_extra_warp (dev + release) and pixel_aot_sdwa_int_extra_hardware (WARP adapter), plus tests/pixel_aot_check.py. Real-GPU run not available (RunPod stopped). Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `8ef6671057be36c97a72b5cb4f7d23c200ff5a89`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset dev -R '^pixel_aot_' --parallel 2 --no-tests=error --output-on-failure`): **202/202 passed** (`296.14s`: `pixel_aot_bits_warp` `14.18s`, `pixel_aot_warp` `16.19s`, `pixel_aot_three_way_warp` `7.60s`, `pixel_aot_core_vector_warp` `16.80s`, `pixel_aot_buffer_color_warp` `7.79s`, `pixel_aot_predicate_rounding_warp` `8.17s`, `pixel_aot_comparisons_warp` `10.65s`, `pixel_aot_cvt_f64_f32_warp` `6.30s`, `pixel_aot_compare_warp` `12.25s`, `pixel_aot_blend_scalar_warp` `8.90s`, `pixel_aot_blend_scalar_hardware` `10.65s`, `pixel_aot_cmpx_regions_warp` `11.35s`, `pixel_aot_e64_warp` `7.76s`, `pixel_aot_exec_regions_warp` `5.15s`, `pixel_aot_f16_arith_warp` `7.20s`, `pixel_aot_cmpx_e64_warp` `7.02s`, `pixel_aot_cvt_flr_rpi_warp` `5.21s`, `pixel_aot_cvt_int_f64_warp` `4.40s`, `pixel_aot_gather_warp` `3.54s`, `pixel_aot_dpp_f16_warp` `6.83s`, `pixel_aot_sample_coarse_gradient_warp` `2.91s`, `pixel_aot_cmp_f64_warp` `4.06s`, `pixel_aot_f16_round_warp` `4.67s`, `pixel_aot_shift64_warp` `4.80s`, `pixel_aot_compare_gather_warp` `4.27s`, `pixel_aot_f16_fmac_ldexp_warp` `4.32s`, `pixel_aot_dpp_extra_warp` `3.88s`, `pixel_aot_compare_sample_warp` `3.15s`, `pixel_aot_int16_ternary_warp` `2.96s`, `pixel_aot_dpp_cvt_warp` `2.67s`, `pixel_aot_sample_gradient_warp` `2.79s`, `pixel_aot_f16_cvt_int16_warp` `2.39s`, `pixel_aot_mac_legacy_warp` `1.53s`, `pixel_aot_cmp64_warp` `3.45s`, `pixel_aot_region_body_warp` `2.59s`, `pixel_aot_cvt_float_int_e64_warp` `2.18s`, `pixel_aot_cvt_f64_int_warp` `3.28s`, `pixel_aot_f16_to_int16_warp` `1.79s`, `pixel_aot_sample_offset_warp` `2.11s`, `pixel_aot_cvt_f32_f64_warp` `1.67s`, `pixel_aot_div_fmas_warp` `1.39s`, `pixel_aot_sample_lod_warp` `2.13s`, `pixel_aot_get_lod_warp` `1.89s`, `pixel_aot_region_scalar_load_warp` `1.88s`, `pixel_aot_scc_skip_warp` `4.14s`, `pixel_aot_pk_fmac_warp` `3.65s`, `pixel_aot_dmask_warp` `1.99s`, `pixel_aot_e64_spellings_warp` `1.50s`, `pixel_aot_pack_int16_warp` `1.22s`, `pixel_aot_plain_movrel_warp` `2.07s`, `pixel_aot_rndne_warp` `3.35s`, `pixel_aot_bitset64_warp` `3.37s`, `pixel_aot_dpp_movrel_warp` `1.94s`, `pixel_aot_int16_vop3_warp` `2.23s`, `pixel_aot_compare_lod_bias_hardware` `2.44s`, `pixel_aot_compare_lod_level_hardware` `2.48s`, `pixel_aot_compare_lod_level_warp` `3.85s`, `pixel_aot_compare_lod_bias_warp` `4.12s`, `pixel_aot_vop3_ternary_int_warp` `2.14s`, `pixel_aot_sdwa_f16_warp` `3.70s`, `pixel_aot_u32_from_f32_warp` `3.12s`, `pixel_aot_pack_b32_warp` `1.11s`, `pixel_aot_align_warp` `2.72s`, `pixel_aot_bfm_warp` `1.13s`, `pixel_aot_plain_bitscan_warp` `1.76s`, `pixel_aot_swaprel_warp` `1.37s`, `pixel_aot_first_bit_warp` `1.85s`, `pixel_aot_sdwa_movrel_warp` `1.69s`, `pixel_aot_flat_scratch_warp` `1.43s`, `pixel_aot_uncompressed_integer_export_warp` `1.14s`, `pixel_aot_title_loads_warp` `2.27s`, `pixel_aot_attribute_warp` `1.44s`, `pixel_aot_smovrel_warp` `1.98s`, `pixel_aot_uncompressed_export_warp` `1.79s`, `pixel_aot_s_call_warp` `1.64s`, `pixel_aot_region_waits_warp` `1.65s`, `pixel_aot_sdwa_integer_warp` `2.33s`, `pixel_aot_region_scalar_alu_warp` `2.05s`, `pixel_aot_mad64_warp` `1.86s`, `pixel_aot_swap_warp` `1.70s`, `pixel_aot_sdwa_cmp_warp` `1.74s`, `pixel_aot_sdwa_unary_warp` `1.97s`, `pixel_aot_brev_warp` `1.74s`, `pixel_aot_carry_in_warp` `1.67s`, `pixel_aot_frexp_exp_warp` `1.68s`, `pixel_aot_carry_out_warp` `1.53s`, `pixel_aot_sad_warp` `1.68s`, `pixel_aot_e64_integer_warp` `1.36s`, `pixel_aot_attribute_sampled_warp` `1.06s`, `pixel_aot_compressed_export_warp` `1.55s`, `pixel_aot_sdwa_int_compare_warp` `2.02s`, `pixel_aot_ds_swizzle_warp` `1.13s`, `pixel_aot_integer_nc_warp` `1.54s`, `pixel_aot_smem_pointers_warp` `1.25s`, `pixel_aot_e64_approx_warp` `1.43s`, `pixel_aot_vop1_nops_warp` `1.32s`, `pixel_aot_sopp_round_mode_warp` `1.12s`, `pixel_aot_sample_clamp_controls` `0.98s`, `pixel_aot_sopk_hwreg_warp` `1.30s`, `pixel_aot_sample_clamp_compile` `6.86s`, `pixel_aot_hardware` `11.43s`, `pixel_aot_core_vector_hardware` `5.53s`, `pixel_aot_dpp_cvt_hardware` `2.41s`, `pixel_aot_dpp_movrel_hardware` `1.74s`, `pixel_aot_swaprel_hardware` `1.47s`, `pixel_aot_plain_movrel_hardware` `2.07s`, `pixel_aot_sdwa_movrel_hardware` `1.59s`, `pixel_aot_smovrel_hardware` `1.41s`, `pixel_aot_sdwa_f16_hardware` `2.47s`, `pixel_aot_dpp_f16_hardware` `4.72s`, `pixel_aot_sdwa_int_extra_hardware` `2.77s`, `pixel_aot_sdwa_cvt_hardware` `3.11s`, `pixel_aot_f16_exact_extra_hardware` `4.14s`, `pixel_aot_compressed_export_hardware` `0.74s`, `pixel_aot_dpp_extra_hardware` `1.91s`, `pixel_aot_uncompressed_export_hardware` `0.84s`, `pixel_aot_ds_swizzle_hardware` `0.70s`, `pixel_aot_uncompressed_integer_export_hardware` `0.91s`, `pixel_aot_scc_skip_hardware` `1.22s`, `pixel_aot_s_call_hardware` `0.84s`, `pixel_aot_exec_regions_hardware` `3.58s`, `pixel_aot_cmpx_regions_hardware` `5.68s`, `pixel_aot_cmpx_e64_hardware` `4.65s`, `pixel_aot_region_waits_hardware` `0.85s`, `pixel_aot_region_body_hardware` `1.61s`, `pixel_aot_region_scalar_alu_hardware` `0.85s`, `pixel_aot_region_scalar_load_hardware` `3.87s`, `pixel_aot_u32_from_f32_hardware` `2.17s`, `pixel_aot_buffer_color_hardware` `5.90s`, `pixel_aot_attribute_hardware` `0.90s`, `pixel_aot_attribute_sampled_hardware` `0.64s`, `pixel_aot_dmask_hardware` `1.45s`, `pixel_aot_sample_lod_hardware` `1.65s`, `pixel_aot_sample_offset_hardware` `2.00s`, `pixel_aot_sample_gradient_hardware` `2.63s`, `pixel_aot_sample_coarse_gradient_hardware` `6.34s`, `pixel_aot_three_way_hardware` `5.82s`, `pixel_aot_predicate_rounding_hardware` `3.67s`, `pixel_aot_sdwa_cmp_hardware` `0.79s`, `pixel_aot_comparisons_hardware` `4.97s`, `pixel_aot_sdwa_int_compare_hardware` `0.86s`, `pixel_aot_bfm_hardware` `0.66s`, `pixel_aot_get_lod_hardware` `1.31s`, `pixel_aot_brev_hardware` `0.77s`, `pixel_aot_smem_pointers_hardware` `0.65s`, `pixel_aot_cmp64_hardware` `1.92s`, `pixel_aot_cmp_f64_hardware` `2.72s`, `pixel_aot_pk_fmac_hardware` `0.96s`, `pixel_aot_shift64_hardware` `2.71s`, `pixel_aot_plain_bitscan_hardware` `1.00s`, `pixel_aot_int16_vop3_hardware` `1.11s`, `pixel_aot_int16_ternary_hardware` `1.74s`, `pixel_aot_f16_arith_hardware` `2.78s`, `pixel_aot_f16_round_hardware` `2.01s`, `pixel_aot_f16_fmac_ldexp_hardware` `1.74s`, `pixel_aot_f16_cvt_int16_hardware` `1.45s`, `pixel_aot_swap_hardware` `0.75s`, `pixel_aot_f16_to_int16_hardware` `1.03s`, `pixel_aot_cvt_float_int_e64_hardware` `1.16s`, `pixel_aot_flat_scratch_hardware` `0.94s`, `pixel_aot_sopk_hwreg_hardware` `0.57s`, `pixel_aot_cvt_flr_rpi_hardware` `2.96s`, `pixel_aot_sopp_round_mode_hardware` `0.59s`, `pixel_aot_e64_approx_hardware` `0.64s`, `pixel_aot_sdwa_unary_hardware` `0.93s`, `pixel_aot_mac_legacy_hardware` `0.85s`, `pixel_aot_integer_nc_hardware` `0.69s`, `pixel_aot_e64_hardware` `3.45s`, `pixel_aot_align_hardware` `1.11s`, `pixel_aot_title_loads_hardware` `1.51s`, `pixel_aot_e64_integer_hardware` `0.71s`, `pixel_aot_vop3_ternary_int_hardware` `1.21s`, `pixel_aot_sdwa_integer_hardware` `0.90s`, `pixel_aot_e64_spellings_hardware` `0.93s`, `pixel_aot_vop1_nops_hardware` `0.59s`, `pixel_aot_frexp_exp_hardware` `0.82s`, `pixel_aot_first_bit_hardware` `1.07s`, `pixel_aot_bitset64_hardware` `1.15s`, `pixel_aot_carry_out_hardware` `0.75s`, `pixel_aot_carry_in_hardware` `0.79s`, `pixel_aot_mad64_hardware` `0.84s`, `pixel_aot_cvt_f64_int_hardware` `2.14s`, `pixel_aot_cvt_f64_f32_hardware` `4.13s`, `pixel_aot_cvt_int_f64_hardware` `3.04s`, `pixel_aot_cvt_f32_f64_hardware` `1.19s`, `pixel_aot_sad_hardware` `0.81s`, `pixel_aot_pack_int16_hardware` `0.65s`, `pixel_aot_rndne_hardware` `1.29s`, `pixel_aot_pack_b32_hardware` `0.62s`, `pixel_aot_compare_grad_hardware` `2.47s`, `pixel_aot_compare_sample_hardware` `2.30s`, `pixel_aot_gather_hardware` `2.58s`, `pixel_aot_compare_gather_hardware` `2.50s`, `pixel_aot_sdwa_int_extra_warp` `1.37s`, `pixel_aot_f16_exact_extra_warp` `1.91s`, `pixel_aot_sdwa_cvt_warp` `1.65s`, `pixel_aot_compare_grad_warp` `2.50s`, `pixel_aot_div_fmas_hardware` `0.91s`, `pixel_aot_compare_hardware` `13.13s`, `pixel_aot_bits_hardware` `7.43s`, `pixel_aot_sample_clamp_hardware` `2.73s`, `pixel_aot_sample_clamp_warp` `2.71s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release -- -j 2`): `0.00s` (configure `0.00s`) - Test (`ctest --preset release -R '^pixel_aot_' --parallel 2 --no-tests=error --output-on-failure`): **202/202 passed** (`206.37s`: `pixel_aot_warp` `10.62s`, `pixel_aot_bits_warp` `11.41s`, `pixel_aot_three_way_warp` `5.21s`, `pixel_aot_core_vector_warp` `6.10s`, `pixel_aot_buffer_color_warp` `5.03s`, `pixel_aot_predicate_rounding_warp` `6.39s`, `pixel_aot_comparisons_warp` `4.35s`, `pixel_aot_blend_scalar_warp` `4.62s`, `pixel_aot_compare_warp` `9.18s`, `pixel_aot_blend_scalar_hardware` `4.67s`, `pixel_aot_cvt_f64_f32_warp` `3.87s`, `pixel_aot_sdwa_int_compare_warp` `0.83s`, `pixel_aot_cmpx_regions_warp` `4.41s`, `pixel_aot_e64_warp` `3.16s`, `pixel_aot_cvt_flr_rpi_warp` `2.78s`, `pixel_aot_cmpx_e64_warp` `3.52s`, `pixel_aot_f16_arith_warp` `2.70s`, `pixel_aot_exec_regions_warp` `2.89s`, `pixel_aot_cvt_int_f64_warp` `2.79s`, `pixel_aot_dpp_f16_warp` `2.94s`, `pixel_aot_cmp_f64_warp` `2.43s`, `pixel_aot_f16_round_warp` `1.97s`, `pixel_aot_shift64_warp` `2.29s`, `pixel_aot_gather_warp` `2.52s`, `pixel_aot_compare_gather_warp` `2.40s`, `pixel_aot_cvt_f64_int_warp` `1.95s`, `pixel_aot_f16_fmac_ldexp_warp` `1.67s`, `pixel_aot_compare_sample_warp` `2.24s`, `pixel_aot_dpp_extra_warp` `1.60s`, `pixel_aot_cmp64_warp` `1.67s`, `pixel_aot_int16_ternary_warp` `1.54s`, `pixel_aot_compare_lod_bias_hardware` `1.42s`, `pixel_aot_sample_gradient_warp` `2.20s`, `pixel_aot_compare_lod_level_hardware` `1.41s`, `pixel_aot_f16_cvt_int16_warp` `1.42s`, `pixel_aot_dpp_cvt_warp` `1.27s`, `pixel_aot_sample_coarse_gradient_warp` `2.25s`, `pixel_aot_region_body_warp` `1.24s`, `pixel_aot_compare_lod_level_warp` `1.40s`, `pixel_aot_sdwa_cmp_warp` `0.74s`, `pixel_aot_compare_lod_bias_warp` `1.43s`, `pixel_aot_cvt_float_int_e64_warp` `1.10s`, `pixel_aot_sample_offset_warp` `1.70s`, `pixel_aot_region_scalar_load_warp` `0.93s`, `pixel_aot_pk_fmac_warp` `0.92s`, `pixel_aot_scc_skip_warp` `1.02s`, `pixel_aot_cvt_f32_f64_warp` `1.12s`, `pixel_aot_f16_to_int16_warp` `1.02s`, `pixel_aot_bitset64_warp` `1.05s`, `pixel_aot_int16_vop3_warp` `1.03s`, `pixel_aot_vop3_ternary_int_warp` `1.08s`, `pixel_aot_plain_movrel_warp` `1.02s`, `pixel_aot_title_loads_warp` `1.39s`, `pixel_aot_align_warp` `1.02s`, `pixel_aot_get_lod_warp` `1.27s`, `pixel_aot_first_bit_warp` `1.01s`, `pixel_aot_plain_bitscan_warp` `0.92s`, `pixel_aot_sample_lod_warp` `1.42s`, `pixel_aot_rndne_warp` `1.22s`, `pixel_aot_mad64_warp` `0.79s`, `pixel_aot_div_fmas_warp` `0.87s`, `pixel_aot_flat_scratch_warp` `0.86s`, `pixel_aot_sdwa_integer_warp` `0.80s`, `pixel_aot_e64_spellings_warp` `0.88s`, `pixel_aot_dpp_movrel_warp` `0.82s`, `pixel_aot_sdwa_movrel_warp` `0.83s`, `pixel_aot_mac_legacy_warp` `0.79s`, `pixel_aot_dmask_warp` `1.27s`, `pixel_aot_uncompressed_export_warp` `0.72s`, `pixel_aot_smovrel_warp` `0.76s`, `pixel_aot_s_call_warp` `0.71s`, `pixel_aot_sdwa_unary_warp` `0.87s`, `pixel_aot_carry_in_warp` `0.75s`, `pixel_aot_region_scalar_alu_warp` `0.70s`, `pixel_aot_frexp_exp_warp` `0.78s`, `pixel_aot_swaprel_warp` `0.70s`, `pixel_aot_swap_warp` `0.72s`, `pixel_aot_region_waits_warp` `0.71s`, `pixel_aot_sad_warp` `0.73s`, `pixel_aot_uncompressed_integer_export_warp` `0.72s`, `pixel_aot_e64_integer_warp` `0.67s`, `pixel_aot_brev_warp` `0.72s`, `pixel_aot_bfm_warp` `0.66s`, `pixel_aot_carry_out_warp` `0.69s`, `pixel_aot_u32_from_f32_warp` `1.04s`, `pixel_aot_smem_pointers_warp` `0.65s`, `pixel_aot_pack_int16_warp` `0.63s`, `pixel_aot_integer_nc_warp` `0.64s`, `pixel_aot_compressed_export_warp` `0.64s`, `pixel_aot_e64_approx_warp` `0.63s`, `pixel_aot_ds_swizzle_warp` `0.60s`, `pixel_aot_pack_b32_warp` `0.60s`, `pixel_aot_sopk_hwreg_warp` `0.57s`, `pixel_aot_vop1_nops_warp` `0.58s`, `pixel_aot_sopp_round_mode_warp` `0.57s`, `pixel_aot_attribute_warp` `0.71s`, `pixel_aot_attribute_sampled_warp` `0.53s`, `pixel_aot_sample_clamp_controls` `0.55s`, `pixel_aot_sample_clamp_compile` `4.72s`, `pixel_aot_hardware` `6.89s`, `pixel_aot_core_vector_hardware` `2.86s`, `pixel_aot_dpp_movrel_hardware` `0.81s`, `pixel_aot_dpp_cvt_hardware` `1.29s`, `pixel_aot_swaprel_hardware` `0.68s`, `pixel_aot_plain_movrel_hardware` `1.03s`, `pixel_aot_sdwa_movrel_hardware` `0.85s`, `pixel_aot_smovrel_hardware` `0.77s`, `pixel_aot_sdwa_f16_hardware` `1.50s`, `pixel_aot_sdwa_int_extra_hardware` `1.29s`, `pixel_aot_dpp_f16_hardware` `2.92s`, `pixel_aot_sdwa_cvt_hardware` `1.48s`, `pixel_aot_f16_exact_extra_hardware` `1.71s`, `pixel_aot_compressed_export_hardware` `0.66s`, `pixel_aot_uncompressed_export_hardware` `0.72s`, `pixel_aot_dpp_extra_hardware` `1.64s`, `pixel_aot_uncompressed_integer_export_hardware` `0.73s`, `pixel_aot_ds_swizzle_hardware` `0.61s`, `pixel_aot_scc_skip_hardware` `1.02s`, `pixel_aot_s_call_hardware` `0.71s`, `pixel_aot_exec_regions_hardware` `2.91s`, `pixel_aot_cmpx_regions_hardware` `4.61s`, `pixel_aot_cmpx_e64_hardware` `3.80s`, `pixel_aot_region_waits_hardware` `0.80s`, `pixel_aot_region_body_hardware` `1.41s`, `pixel_aot_region_scalar_alu_hardware` `0.99s`, `pixel_aot_region_scalar_load_hardware` `1.33s`, `pixel_aot_u32_from_f32_hardware` `4.31s`, `pixel_aot_buffer_color_hardware` `5.38s`, `pixel_aot_attribute_hardware` `0.84s`, `pixel_aot_attribute_sampled_hardware` `0.58s`, `pixel_aot_dmask_hardware` `1.43s`, `pixel_aot_sample_lod_hardware` `1.65s`, `pixel_aot_sample_offset_hardware` `1.89s`, `pixel_aot_sample_gradient_hardware` `2.42s`, `pixel_aot_sample_coarse_gradient_hardware` `5.71s`, `pixel_aot_three_way_hardware` `5.39s`, `pixel_aot_predicate_rounding_hardware` `3.49s`, `pixel_aot_sdwa_cmp_hardware` `0.81s`, `pixel_aot_sdwa_int_compare_hardware` `0.88s`, `pixel_aot_comparisons_hardware` `4.75s`, `pixel_aot_bfm_hardware` `0.71s`, `pixel_aot_get_lod_hardware` `1.35s`, `pixel_aot_brev_hardware` `0.77s`, `pixel_aot_smem_pointers_hardware` `0.69s`, `pixel_aot_cmp64_hardware` `1.84s`, `pixel_aot_cmp_f64_hardware` `2.60s`, `pixel_aot_pk_fmac_hardware` `1.35s`, `pixel_aot_shift64_hardware` `2.89s`, `pixel_aot_plain_bitscan_hardware` `1.38s`, `pixel_aot_int16_vop3_hardware` `1.45s`, `pixel_aot_int16_ternary_hardware` `2.03s`, `pixel_aot_f16_arith_hardware` `3.35s`, `pixel_aot_f16_round_hardware` `2.36s`, `pixel_aot_f16_fmac_ldexp_hardware` `1.82s`, `pixel_aot_f16_cvt_int16_hardware` `1.46s`, `pixel_aot_swap_hardware` `0.75s`, `pixel_aot_f16_to_int16_hardware` `1.05s`, `pixel_aot_cvt_float_int_e64_hardware` `1.18s`, `pixel_aot_flat_scratch_hardware` `0.97s`, `pixel_aot_sopk_hwreg_hardware` `0.66s`, `pixel_aot_cvt_flr_rpi_hardware` `3.04s`, `pixel_aot_sopp_round_mode_hardware` `0.63s`, `pixel_aot_e64_approx_hardware` `0.68s`, `pixel_aot_sdwa_unary_hardware` `0.97s`, `pixel_aot_mac_legacy_hardware` `1.34s`, `pixel_aot_e64_hardware` `3.89s`, `pixel_aot_integer_nc_hardware` `0.84s`, `pixel_aot_align_hardware` `1.31s`, `pixel_aot_title_loads_hardware` `1.77s`, `pixel_aot_e64_integer_hardware` `0.75s`, `pixel_aot_vop3_ternary_int_hardware` `1.21s`, `pixel_aot_sdwa_integer_hardware` `0.91s`, `pixel_aot_e64_spellings_hardware` `1.00s`, `pixel_aot_vop1_nops_hardware` `0.65s`, `pixel_aot_frexp_exp_hardware` `0.93s`, `pixel_aot_first_bit_hardware` `1.14s`, `pixel_aot_bitset64_hardware` `1.19s`, `pixel_aot_carry_out_hardware` `0.79s`, `pixel_aot_carry_in_hardware` `0.80s`, `pixel_aot_mad64_hardware` `0.86s`, `pixel_aot_cvt_f64_int_hardware` `2.15s`, `pixel_aot_cvt_f64_f32_hardware` `4.22s`, `pixel_aot_cvt_int_f64_hardware` `3.07s`, `pixel_aot_cvt_f32_f64_hardware` `1.22s`, `pixel_aot_sad_hardware` `0.79s`, `pixel_aot_pack_int16_hardware` `0.67s`, `pixel_aot_rndne_hardware` `1.31s`, `pixel_aot_pack_b32_hardware` `0.65s`, `pixel_aot_compare_grad_hardware` `3.10s`, `pixel_aot_compare_sample_hardware` `2.97s`, `pixel_aot_compare_gather_hardware` `3.35s`, `pixel_aot_gather_hardware` `3.62s`, `pixel_aot_sdwa_f16_warp` `2.17s`, `pixel_aot_sdwa_int_extra_warp` `1.90s`, `pixel_aot_f16_exact_extra_warp` `2.57s`, `pixel_aot_sdwa_cvt_warp` `2.07s`, `pixel_aot_compare_grad_warp` `3.36s`, `pixel_aot_compare_hardware` `13.30s`, `pixel_aot_div_fmas_hardware` `1.22s`, `pixel_aot_bits_hardware` `8.74s`, `pixel_aot_sample_clamp_hardware` `3.28s`, `pixel_aot_sample_clamp_warp` `2.81s`) - **Windows Python checks**: `tests/pixel_aot_check.py` ok (`14.7s`) - `sccache`: 29/45 hits; wall `531.5s` tested: 8ef66710 via fetch (pull/2850/head, no patch) AI-assisted; commands listed were executed locally.
ColorMeBoom commented 2026-11-26 15:00:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ColorMeBoom on 2026-11-26T14:07:54Z.


RX 5700 XT result for the hardware run requested above. The fix holds on the adapter from #2731.

Environment:

  • Windows 11 Home build 26200.9974, preset dev.
  • DXC 1.9.2602.17 (SDK 10.0.26100.0).
  • AMD Radeon RX 5700 XT (RDNA 1, 1002:731f), driver 32.0.21045.29003.
  • WARP 10.0.26100.9818.
  • Debug layer unavailable.
ctest --preset dev --no-tests=error -R '^pixel_aot_sdwa_int_extra_(warp|hardware)$' -V
Tree RX 5700 XT WARP
main at 5a41adba (contains 1940788d) Passed Passed
Same, with tools/pixel_aot.py and tests/pixel_aot_check.py reverted to 1940788d~1 Failed Passed

The before-fix run reads back on the hardware, with channel 1 the only one that differs (channels 0, 2 and 3 match on every row):

Row Expected channel 1 RX 5700 XT channel 1
1 0000fffc 00000005
2 00000005 00000004
3 0000ffff 00000000

With the fix, all three rows pass on the card, and every co_ci mutation is still caught on at least one row. On @tedin7's question about subrev: in this fixture the unmutated v_subrev_co_ci_u32_sdwa row passes on the RX 5700 XT both before and after the change, so this draw shows no sign that subrev needs the same treatment. One difference from WARP: with the fix, the sub → subrev mutation also mismatches on row 3 on the card (['mismatch', 'mismatch', 'mismatch']), while WARP passes that row. The mutation is caught either way.

I reverted only for the before-fix run and restored both files afterward.

AI-assisted with Claude Code (Claude Opus 5.5); the commands listed were run locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7194321340 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2850#issuecomment-7194321340). Originally posted by [ColorMeBoom](https://github.com/ColorMeBoom) on 2026-11-26T14:07:54Z. --- RX 5700 XT result for the hardware run requested above. The fix holds on the adapter from #2731. **Environment:** - Windows 11 Home build 26200.9974, preset `dev`. - DXC 1.9.2602.17 (SDK 10.0.26100.0). - AMD Radeon RX 5700 XT (RDNA 1, `1002:731f`), driver 32.0.21045.29003. - WARP 10.0.26100.9818. - Debug layer unavailable. ```powershell ctest --preset dev --no-tests=error -R '^pixel_aot_sdwa_int_extra_(warp|hardware)$' -V ``` | Tree | RX 5700 XT | WARP | |---|---|---| | `main` at `5a41adba` (contains `1940788d`) | Passed | Passed | | Same, with `tools/pixel_aot.py` and `tests/pixel_aot_check.py` reverted to `1940788d~1` | **Failed** | Passed | The before-fix run reads back on the hardware, with channel 1 the only one that differs (channels 0, 2 and 3 match on every row): | Row | Expected channel 1 | RX 5700 XT channel 1 | |---|---|---| | 1 | `0000fffc` | `00000005` | | 2 | `00000005` | `00000004` | | 3 | `0000ffff` | `00000000` | With the fix, all three rows pass on the card, and every co_ci mutation is still caught on at least one row. On @tedin7's question about `subrev`: in this fixture the unmutated `v_subrev_co_ci_u32_sdwa` row passes on the RX 5700 XT both before and after the change, so this draw shows no sign that `subrev` needs the same treatment. One difference from WARP: with the fix, the `sub` → `subrev` mutation also mismatches on row 3 on the card (`['mismatch', 'mismatch', 'mismatch']`), while WARP passes that row. The mutation is caught either way. I reverted only for the before-fix run and restored both files afterward. AI-assisted with Claude Code (Claude Opus 5.5); the commands listed were run locally.
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
R0Y00/Xbox2Windows!2842
No description provided.