tools: cache parse and reg_range results in gfx2hlsl #2445

Merged
NiiRoZz merged 2 commits from upstream-pr/2453 into main 2026-11-25 18:36:52 +00:00
NiiRoZz commented 2026-11-25 17:12:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by NiiRoZz on 2026-11-25T17:12:12Z.


What

tools/startup/gfx2hlsl.py parses the text of each decoded instruction many times: the join, execz and uniformity passes each call parse(asm) and reg_range(tok) again for instructions an earlier pass already parsed. This change caches both with functools.lru_cache.

  • parse_cached(asm) holds the parsed result as tuples; parse(asm) returns fresh lists from it, so a caller that edits its operand list cannot change what another caller sees.
  • reg_range(tok) returns an immutable tuple or None, so it is cached directly.

No translation result changes: both functions depend only on their string argument.

Measured

Local observation, not reproducible from this repository (counts only): on 40 compute requests that the translator refuses, one process, Python 3.13, x64 Windows:

  • before: 15.7 s, 1,301,169 parse calls for 114,492 decoded instructions (about 11 per instruction), 824,317 reg_range calls;
  • after: 9.3 s, the same 40 first refusals.

join_writes (every branch against every instruction) is the largest remaining cost and is not touched here.

Tests

python -B tests/startup_gfx2hlsl_<name>_check.py     # every file matching tests/startup_gfx2hlsl_*_check.py, no arguments
python -B tests/startup_translator_check.py
python -B tests/startup_compute_translate_check.py

64 scripts, all exit 0. The modes that need LLVM, a built binary or a GPU were not run locally; CI runs them.

No new test: there is no behaviour to pin beyond the existing checks, which exercise both functions on every instruction they translate.

🤖 Generated with Claude Code

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6609724849 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2453). Originally posted by [NiiRoZz](https://github.com/NiiRoZz) on 2026-11-25T17:12:12Z. --- ## What `tools/startup/gfx2hlsl.py` parses the text of each decoded instruction many times: the join, execz and uniformity passes each call `parse(asm)` and `reg_range(tok)` again for instructions an earlier pass already parsed. This change caches both with `functools.lru_cache`. - `parse_cached(asm)` holds the parsed result as tuples; `parse(asm)` returns fresh lists from it, so a caller that edits its operand list cannot change what another caller sees. - `reg_range(tok)` returns an immutable tuple or `None`, so it is cached directly. No translation result changes: both functions depend only on their string argument. ## Measured Local observation, not reproducible from this repository (counts only): on 40 compute requests that the translator refuses, one process, Python 3.13, x64 Windows: - before: 15.7 s, 1,301,169 `parse` calls for 114,492 decoded instructions (about 11 per instruction), 824,317 `reg_range` calls; - after: 9.3 s, the same 40 first refusals. `join_writes` (every branch against every instruction) is the largest remaining cost and is not touched here. ## Tests ``` python -B tests/startup_gfx2hlsl_<name>_check.py # every file matching tests/startup_gfx2hlsl_*_check.py, no arguments python -B tests/startup_translator_check.py python -B tests/startup_compute_translate_check.py ``` 64 scripts, all exit 0. The modes that need LLVM, a built binary or a GPU were not run locally; CI runs them. No new test: there is no behaviour to pin beyond the existing checks, which exercise both functions on every instruction they translate. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
tedin7 commented 2026-11-25 18:01:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T17:18:09Z.

Review: COMMENTED


Review of head 489ecc1d: no defects found.

  • parse_cached stores operands and modifiers as tuples, and parse hands every caller fresh lists. A caller that edits ops[-1] (the pattern split_top callers use) cannot change what the next caller gets.
  • reg_range is a pure function of its string and returns a tuple or None, so caching it directly is safe.
  • Neither function reads module state or environment, so the cache cannot hold a stale result inside one process. The cache is unbounded, but its keys are instruction strings and register tokens, which is small next to the decoded program text the translator already holds.

Commands run locally on Linux (Python 3, head 489ecc1d, one commit behind main):

python3 -B tests/startup_gfx2hlsl_*_check.py      # each file, no arguments
python3 -B tests/startup_translator_check.py
python3 -B tests/startup_compute_translate_check.py

64 scripts, 0 failures (exit 0 or 77), 81 s in total.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6061922753 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2453#pullrequestreview-6061922753). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T17:18:09Z. **Review:** COMMENTED --- Review of head `489ecc1d`: no defects found. - `parse_cached` stores operands and modifiers as tuples, and `parse` hands every caller fresh lists. A caller that edits `ops[-1]` (the pattern `split_top` callers use) cannot change what the next caller gets. - `reg_range` is a pure function of its string and returns a tuple or `None`, so caching it directly is safe. - Neither function reads module state or environment, so the cache cannot hold a stale result inside one process. The cache is unbounded, but its keys are instruction strings and register tokens, which is small next to the decoded program text the translator already holds. Commands run locally on Linux (Python 3, head `489ecc1d`, one commit behind `main`): ``` python3 -B tests/startup_gfx2hlsl_*_check.py # each file, no arguments python3 -B tests/startup_translator_check.py python3 -B tests/startup_compute_translate_check.py ``` 64 scripts, 0 failures (exit 0 or 77), 81 s in total. AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-25 18:01:20 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T17:14:09Z.


The defensive copy is what makes this safe, and it is the part nothing tests

Baseline: all 62 tests/startup_gfx2hlsl_*_check.py exit 0 on this branch, so the change is behaviour-preserving for the whole family — which is the first thing a caching change has to show and the thing I checked first.

mutation result
return name, list(ops), list(mods) → return name, ops, mods (hand back the cached tuples) survived
return name, tuple(ops), tuple(mods) → tuple(mods), tuple(ops) (swap) caught (3 of 4 checks I ran)
cache key ignores the mnemonic (asm = rest before parsing) survived

The third survivor surprised me until I looked: with asm = rest, name is still returned from the pre-rewrite partition, so the cached value keeps the right mnemonic and only the key collapses — two different instructions with identical operand text would share an entry. Nothing in the fixtures has two mnemonics with the same operand text, so it passes. That one is a genuine (if unlikely) hazard rather than a defect in the change.

Why the first survivor matters even though it is not a bug today

@functools.lru_cache(maxsize=None)
def parse_cached(asm): ... return name, tuple(ops), tuple(mods)

def parse(asm):
    name, ops, mods = parse_cached(asm)
    return name, list(ops), list(mods)      # ← the line that keeps the cache honest

I verified the copy is doing its job by mutating a returned list:

parse('v_add_f32 v0, v1, v2')[1] is parse('v_add_f32 v0, v1, v2')[1]   -> False
after a[1].append('MUTATED'), the next parse() returns ['v0', 'v1', 'v2']

So no caller can poison the cache today. But that is a property of the two list(...) calls, not of the cache, and removing them is invisible to every check — the mutation above survived. There are 30-plus call sites that do _, ops, mods = parse(asm) and afterwards treat ops as a mutable list; a future caller doing ops.append(...) or ops[-1] = ... would silently corrupt every later parse of the same text in the same process. A one-line assertion in an existing check would hold the line:

a = G.parse('v_add_f32 v0, v1, v2'); b = G.parse('v_add_f32 v0, v1, v2')
assert a[1] is not b[1] and a[2] is not b[2], 'parse must not hand out the cached lists'
a[1].append('x')
assert G.parse('v_add_f32 v0, v1, v2')[1] == ['v0', 'v1', 'v2'], 'cache poisoned by a caller'

One smaller note

maxsize=None on both caches is unbounded. For this workload that is fine — the keys are the distinct instruction texts of a corpus, so the bound is the shader's instruction variety, not its length — but it is the kind of thing a reviewer will ask about, and the answer belongs in the comment rather than in the review thread.

AI-assisted; the mutations, the aliasing probe and the family run were done locally on Windows 11 build 26300.9974.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7169205337 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2453#issuecomment-7169205337). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-25T17:14:09Z. --- ## The defensive copy is what makes this safe, and it is the part nothing tests Baseline: all 62 `tests/startup_gfx2hlsl_*_check.py` exit 0 on this branch, so the change is behaviour-preserving for the whole family — which is the first thing a caching change has to show and the thing I checked first. | mutation | result | |---|---| | `return name, list(ops), list(mods)` → `return name, ops, mods` (hand back the cached tuples) | survived | | `return name, tuple(ops), tuple(mods)` → `tuple(mods), tuple(ops)` (swap) | **caught** (3 of 4 checks I ran) | | cache key ignores the mnemonic (`asm = rest` before parsing) | survived | The third survivor surprised me until I looked: with `asm = rest`, `name` is still returned from the *pre-rewrite* `partition`, so the cached value keeps the right mnemonic and only the key collapses — two different instructions with identical operand text would share an entry. Nothing in the fixtures has two mnemonics with the same operand text, so it passes. That one is a genuine (if unlikely) hazard rather than a defect in the change. ### Why the first survivor matters even though it is not a bug today ```python @functools.lru_cache(maxsize=None) def parse_cached(asm): ... return name, tuple(ops), tuple(mods) def parse(asm): name, ops, mods = parse_cached(asm) return name, list(ops), list(mods) # ← the line that keeps the cache honest ``` I verified the copy is doing its job by mutating a returned list: ```text parse('v_add_f32 v0, v1, v2')[1] is parse('v_add_f32 v0, v1, v2')[1] -> False after a[1].append('MUTATED'), the next parse() returns ['v0', 'v1', 'v2'] ``` So no caller can poison the cache today. But that is a property of the two `list(...)` calls, not of the cache, and removing them is invisible to every check — the mutation above survived. There are 30-plus call sites that do `_, ops, mods = parse(asm)` and afterwards treat `ops` as a mutable list; a future caller doing `ops.append(...)` or `ops[-1] = ...` would silently corrupt every later parse of the same text in the same process. A one-line assertion in an existing check would hold the line: ```python a = G.parse('v_add_f32 v0, v1, v2'); b = G.parse('v_add_f32 v0, v1, v2') assert a[1] is not b[1] and a[2] is not b[2], 'parse must not hand out the cached lists' a[1].append('x') assert G.parse('v_add_f32 v0, v1, v2')[1] == ['v0', 'v1', 'v2'], 'cache poisoned by a caller' ``` ### One smaller note `maxsize=None` on both caches is unbounded. For this workload that is fine — the keys are the distinct instruction texts of a corpus, so the bound is the shader's instruction variety, not its length — but it is the kind of thing a reviewer will ask about, and the answer belongs in the comment rather than in the review thread. AI-assisted; the mutations, the aliasing probe and the family run were done locally on Windows 11 build 26300.9974.
tedin7 commented 2026-11-25 18:01:20 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T17:25:54Z.


Win2025 WARP receipt for head 275e34ad after updating with main.

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

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 20.76s (configure 1.63s)
    • Test (ctest --preset dev -R '^startup_(gfx2hlsl|translat)' --parallel 6 --no-tests=error --output-on-failure): 134/134 passed (66.07s: startup_gfx2hlsl_cvt_alu_warp 8.78s, startup_gfx2hlsl_f32_nan 10.36s, startup_gfx2hlsl_f32_nan_warp 15.78s, startup_gfx2hlsl_f32_nan_hardware 15.96s, startup_gfx2hlsl_bit_alu_warp 7.53s, startup_gfx2hlsl_sop2_complement 7.52s, startup_gfx2hlsl_f32_lg_warp 5.30s, startup_gfx2hlsl_f32_sdwa_warp 21.22s, startup_gfx2hlsl_f32_sdwa_hardware 21.34s, startup_gfx2hlsl_cvt_alu_hardware 6.42s, startup_gfx2hlsl_bit_alu_hardware 7.27s, startup_gfx2hlsl_cmp_class_f16 6.52s, startup_gfx2hlsl_s_lshl_add 6.35s, startup_gfx2hlsl_vopc_sdwa 7.81s, startup_gfx2hlsl_cmp_class 8.31s, startup_gfx2hlsl_f32_sdwa 4.83s, startup_gfx2hlsl_sdwa_cvt_warp 10.96s, startup_gfx2hlsl_shift64_warp 12.78s, startup_gfx2hlsl_watch 3.67s, startup_gfx2hlsl_dpp_pair_warp 8.55s, startup_gfx2hlsl_f32_lg_hardware 16.19s, startup_gfx2hlsl_shift64_hardware 13.11s, startup_gfx2hlsl_dpp_pair_hardware 6.36s, startup_gfx2hlsl_dpp_quad_swap_warp 7.00s, startup_gfx2hlsl_cmp16_warp 6.28s, startup_gfx2hlsl_dpp_quad_swap_hardware 7.92s, startup_gfx2hlsl_compute_hardware 7.64s, startup_gfx2hlsl_cmp16_hardware 6.88s, startup_gfx2hlsl_f32_lg 2.85s, startup_gfx2hlsl_sdwa_cvt_hardware 7.48s, startup_gfx2hlsl_mad_dispatch_warp 6.25s, startup_gfx2hlsl_scalar_m0_warp 3.71s, startup_gfx2hlsl_mad_dispatch_hardware 6.31s, startup_gfx2hlsl_mad_preserve_warp 4.41s, startup_gfx2hlsl_vopc_sdwa_warp 5.28s, startup_gfx2hlsl_capture 2.37s, startup_gfx2hlsl_compute_warp 8.78s, startup_gfx2hlsl_vopc_sdwa_hardware 4.98s, startup_gfx2hlsl_mad_preserve_hardware 3.90s, startup_gfx2hlsl_compute_mbcnt_warp 2.08s, startup_gfx2hlsl_dpp_quad_broadcast_warp 2.92s, startup_gfx2hlsl_mul_hi_warp 3.14s, startup_gfx2hlsl_scalar_m0_hardware 3.47s, startup_gfx2hlsl_sgpr_spill_warp 3.81s, startup_gfx2hlsl_interp_f16_warp 2.62s, startup_gfx2hlsl_sopk_accum 1.82s, startup_gfx2hlsl_root 2.11s, startup_gfx2hlsl_compute_dropped-store_warp 0.91s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 4.42s, startup_gfx2hlsl_cvt_pk_u8_warp 3.92s, startup_gfx2hlsl_sgpr_spill_hardware 5.15s, startup_gfx2hlsl_interp_f16_hardware 4.12s, startup_gfx2hlsl_compute_c-unpredicated_warp 1.08s, startup_gfx2hlsl_compute_b-offset_warp 0.86s, startup_gfx2hlsl_compute_dropped-store_hardware 0.94s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.94s, startup_gfx2hlsl_bit_alu_controls 1.08s, startup_gfx2hlsl_compute_controls 0.51s, startup_gfx2hlsl_compute_swapped-axes_warp 0.56s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.38s, startup_gfx2hlsl_compute_b-offset_hardware 0.48s, startup_gfx2hlsl_mul_hi_hardware 3.92s, startup_gfx2hlsl_join_symbols_warp 0.58s, startup_gfx2hlsl_refusals 0.65s, startup_gfx2hlsl_sdwa 0.28s, startup_gfx2hlsl_buffer_store 0.71s, startup_gfx2hlsl_compute_mbcnt_hardware 1.08s, startup_gfx2hlsl_cvt_pk_u8_hardware 1.13s, startup_gfx2hlsl_join_symbols_controls 0.28s, startup_gfx2hlsl_draw_skip 0.69s, startup_gfx2hlsl_sample_c_lz_mip 0.29s, startup_gfx2hlsl_swap 0.44s, startup_gfx2hlsl_compute_g-overlap_warp 0.41s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.41s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.41s, startup_gfx2hlsl_join_symbols_hardware 0.54s, startup_gfx2hlsl_compute_k-block-entered_warp 0.40s, startup_gfx2hlsl_compute_g-overlap_hardware 0.36s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.35s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.37s, startup_gfx2hlsl_sdwa_cvt 0.45s, startup_gfx2hlsl_compute_f-peer_hardware 0.33s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.33s, startup_gfx2hlsl_cvt_alu_controls 0.17s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.33s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.32s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.34s, startup_gfx2hlsl_compute_f-broadcast_warp 0.32s, startup_gfx2hlsl_compute_f-peer_warp 0.35s, startup_gfx2hlsl_interp_f16_controls 0.20s, startup_gfx2hlsl_cmp16_controls 0.33s, startup_gfx2hlsl_join_symbols_folded_warp 0.24s, startup_gfx2hlsl_operand_count 0.23s, startup_gfx2hlsl_dpp_quad_swap_controls 0.16s, startup_gfx2hlsl_join_symbols_folded_hardware 0.22s, startup_gfx2hlsl_sopk_signext 0.17s, startup_gfx2hlsl_shift64_controls 0.18s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.27s, startup_gfx2hlsl_export_mask 0.16s, startup_translator 0.54s, startup_gfx2hlsl_dpp_pair 0.14s, startup_gfx2hlsl_export_mask_drop_control 0.16s, startup_gfx2hlsl_readfirstlane_uniform 0.14s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_sgpr_spill_controls 0.14s, startup_gfx2hlsl_add_sub_co_controls 0.14s, startup_gfx2hlsl_s_sext_cmov 0.12s, startup_gfx2hlsl_dpp_quad_broadcast 0.14s, startup_gfx2hlsl_cvt_pk_u8_controls 0.14s, startup_gfx2hlsl_calculated_target 0.14s, startup_gfx2hlsl_mul_hi_controls 0.15s, startup_gfx2hlsl_opsel 0.11s, startup_gfx2hlsl_vcvt_omod 0.13s, startup_gfx2hlsl_cndmask_neg 0.12s, startup_gfx2hlsl_smem_offset 0.12s, startup_gfx2hlsl_tbuffer_16f 0.13s, startup_gfx2hlsl_int_med3_controls 0.17s, startup_gfx2hlsl_mask_overwrite_controls 0.11s, startup_gfx2hlsl_cselect_mask_controls 0.13s, startup_gfx2hlsl_s_bitcmp 0.13s, startup_gfx2hlsl_readfirstlane_recompute 0.13s, startup_gfx2hlsl_op_refusals 0.11s, startup_gfx2hlsl_b64_shift 0.12s, startup_gfx2hlsl_handler_arity 0.12s, startup_gfx2hlsl_neg_operand 0.11s, startup_gfx2hlsl_loop_constants 0.12s, startup_gfx2hlsl_compare_dst_controls 0.11s, startup_gfx2hlsl_mad_controls 0.14s, startup_translated_sampler_bindings 0.02s, startup_translated_sampler_bindings_shared_axis_control 0.02s, startup_gfx2hlsl_scalar_brev_fold 0.14s, startup_gfx2hlsl_image_get_lod_controls 0.12s, startup_gfx2hlsl_image_arity 0.10s, startup_gfx2hlsl_saveexec_same_reg_controls 0.11s)
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2): 68.01s (configure 1.67s)
    • Test (ctest --preset release -R '^startup_(gfx2hlsl|translat)' --parallel 6 --no-tests=error --output-on-failure): 134/134 passed (35.78s: startup_gfx2hlsl_vopc_sdwa 8.12s, startup_gfx2hlsl_f32_nan 8.58s, startup_gfx2hlsl_f32_nan_hardware 13.92s, startup_gfx2hlsl_f32_nan_warp 13.98s, startup_gfx2hlsl_cvt_alu_warp 5.89s, startup_gfx2hlsl_bit_alu_hardware 6.64s, startup_gfx2hlsl_f32_sdwa_warp 18.58s, startup_gfx2hlsl_f32_sdwa_hardware 18.73s, startup_gfx2hlsl_cvt_alu_hardware 5.56s, startup_gfx2hlsl_cmp_class_f16 5.69s, startup_gfx2hlsl_cmp_class 6.36s, startup_gfx2hlsl_bit_alu_warp 6.28s, startup_gfx2hlsl_s_lshl_add 4.84s, startup_gfx2hlsl_shift64_hardware 3.30s, startup_gfx2hlsl_f32_lg_hardware 4.40s, startup_gfx2hlsl_sop2_complement 5.64s, startup_gfx2hlsl_f32_lg_warp 4.55s, startup_gfx2hlsl_shift64_warp 3.37s, startup_gfx2hlsl_mad_dispatch_hardware 1.60s, startup_gfx2hlsl_compute_hardware 2.25s, startup_gfx2hlsl_dpp_quad_swap_hardware 2.06s, startup_gfx2hlsl_f32_sdwa 2.89s, startup_gfx2hlsl_dpp_quad_swap_warp 1.96s, startup_gfx2hlsl_watch 2.71s, startup_gfx2hlsl_cmp16_warp 1.86s, startup_gfx2hlsl_dpp_pair_hardware 1.89s, startup_gfx2hlsl_dpp_pair_warp 1.92s, startup_gfx2hlsl_sdwa_cvt_hardware 1.92s, startup_gfx2hlsl_cmp16_hardware 1.98s, startup_gfx2hlsl_sdwa_cvt_warp 1.93s, startup_gfx2hlsl_f32_lg 1.75s, startup_gfx2hlsl_mad_dispatch_warp 1.59s, startup_gfx2hlsl_vopc_sdwa_hardware 1.34s, startup_gfx2hlsl_mad_preserve_hardware 1.02s, startup_gfx2hlsl_compute_warp 2.13s, startup_gfx2hlsl_scalar_m0_hardware 1.17s, startup_gfx2hlsl_scalar_m0_warp 1.17s, startup_gfx2hlsl_vopc_sdwa_warp 1.28s, startup_gfx2hlsl_sopk_accum 1.01s, startup_gfx2hlsl_sgpr_spill_warp 0.95s, startup_gfx2hlsl_capture 1.21s, startup_gfx2hlsl_mad_preserve_warp 0.99s, startup_gfx2hlsl_mul_hi_warp 0.98s, startup_gfx2hlsl_sgpr_spill_hardware 0.99s, startup_gfx2hlsl_interp_f16_hardware 0.85s, startup_gfx2hlsl_dpp_quad_broadcast_warp 0.94s, startup_gfx2hlsl_interp_f16_warp 0.87s, startup_gfx2hlsl_dpp_quad_broadcast_hardware 0.96s, startup_gfx2hlsl_cvt_pk_u8_warp 0.87s, startup_gfx2hlsl_root 0.80s, startup_gfx2hlsl_cvt_pk_u8_hardware 0.96s, startup_gfx2hlsl_compute_mbcnt_warp 0.91s, startup_gfx2hlsl_bit_alu_controls 0.96s, startup_gfx2hlsl_mul_hi_hardware 1.15s, startup_gfx2hlsl_compute_controls 0.33s, startup_gfx2hlsl_draw_skip 0.50s, startup_gfx2hlsl_compute_mbcnt_hardware 0.77s, startup_gfx2hlsl_buffer_store 0.57s, startup_gfx2hlsl_join_symbols_warp 0.37s, startup_gfx2hlsl_refusals 0.54s, startup_gfx2hlsl_compute_g-overlap_warp 0.28s, startup_gfx2hlsl_sdwa 0.20s, startup_gfx2hlsl_join_symbols_hardware 0.35s, startup_gfx2hlsl_compute_b-offset_warp 0.28s, startup_gfx2hlsl_compute_c-unpredicated_warp 0.29s, startup_gfx2hlsl_compute_g-swapped-offsets_warp 0.28s, startup_gfx2hlsl_compute_swapped-axes_warp 0.29s, startup_gfx2hlsl_compute_dropped-store_warp 0.29s, startup_gfx2hlsl_compute_k-block-entered_hardware 0.30s, startup_gfx2hlsl_compute_j-scalar-dropped_hardware 0.30s, startup_gfx2hlsl_compute_j-scalar-dropped_warp 0.31s, startup_gfx2hlsl_compute_h-inner-unpredicated_warp 0.30s, startup_gfx2hlsl_join_symbols_controls 0.23s, startup_gfx2hlsl_compute_f-broadcast_hardware 0.28s, startup_gfx2hlsl_compute_g-overlap_hardware 0.29s, startup_gfx2hlsl_compute_f-peer_hardware 0.28s, startup_gfx2hlsl_cmp16_controls 0.26s, startup_gfx2hlsl_compute_h-inner-unpredicated_hardware 0.31s, startup_gfx2hlsl_compute_g-swapped-offsets_hardware 0.29s, startup_gfx2hlsl_compute_swapped-axes_hardware 0.27s, startup_gfx2hlsl_compute_c-unpredicated_hardware 0.28s, startup_gfx2hlsl_compute_f-peer_warp 0.28s, startup_gfx2hlsl_compute_b-offset_hardware 0.31s, startup_gfx2hlsl_compute_k-block-entered_warp 0.29s, startup_gfx2hlsl_compute_dropped-store_hardware 0.28s, startup_gfx2hlsl_compute_f-broadcast_warp 0.29s, startup_gfx2hlsl_scalar_shift64_bfe_controls 0.24s, startup_gfx2hlsl_swap 0.31s, startup_gfx2hlsl_join_symbols_folded_hardware 0.20s, startup_gfx2hlsl_dpp_quad_swap_controls 0.14s, startup_gfx2hlsl_cvt_alu_controls 0.15s, startup_gfx2hlsl_interp_f16_controls 0.22s, startup_gfx2hlsl_sdwa_cvt 0.32s, startup_gfx2hlsl_operand_count 0.19s, startup_gfx2hlsl_join_symbols_folded_warp 0.20s, startup_gfx2hlsl_shift64_controls 0.15s, startup_gfx2hlsl_sample_c_lz_mip 0.19s, startup_gfx2hlsl_sopk_signext 0.15s, startup_gfx2hlsl_readfirstlane_uniform 0.11s, startup_gfx2hlsl_dpp_pair 0.15s, startup_gfx2hlsl_scalar_m0_controls 0.11s, startup_gfx2hlsl_cndmask_neg 0.11s, startup_gfx2hlsl_vcvt_omod 0.11s, startup_gfx2hlsl_dpp_quad_broadcast 0.13s, startup_gfx2hlsl_mad_controls 0.13s, startup_gfx2hlsl_sgpr_spill_controls 0.13s, startup_gfx2hlsl_mul_hi_controls 0.13s, startup_gfx2hlsl_export_mask_drop_control 0.15s, startup_translator 0.52s, startup_gfx2hlsl_export_mask 0.13s, startup_gfx2hlsl_cvt_pk_u8_controls 0.12s, startup_gfx2hlsl_opsel 0.11s, startup_gfx2hlsl_smem_offset 0.11s, startup_gfx2hlsl_b64_shift 0.10s, startup_gfx2hlsl_tbuffer_16f 0.10s, startup_gfx2hlsl_int_med3_controls 0.12s, startup_gfx2hlsl_add_sub_co_controls 0.13s, startup_gfx2hlsl_s_sext_cmov 0.13s, startup_gfx2hlsl_scalar_brev_fold 0.12s, startup_gfx2hlsl_image_get_lod_controls 0.12s, startup_gfx2hlsl_calculated_target 0.12s, startup_gfx2hlsl_s_bitcmp 0.13s, startup_gfx2hlsl_op_refusals 0.10s, startup_gfx2hlsl_mask_overwrite_controls 0.11s, startup_gfx2hlsl_saveexec_same_reg_controls 0.11s, startup_gfx2hlsl_cselect_mask_controls 0.13s, startup_gfx2hlsl_readfirstlane_recompute 0.12s, startup_translated_sampler_bindings 0.02s, startup_gfx2hlsl_handler_arity 0.13s, startup_gfx2hlsl_image_arity 0.12s, startup_gfx2hlsl_loop_constants 0.10s, startup_translated_sampler_bindings_shared_axis_control 0.01s, startup_gfx2hlsl_neg_operand 0.10s, startup_gfx2hlsl_compare_dst_controls 0.09s)
  • Windows Python checks: tests/mesh_heap_sampler_check.py ok (0.5s), tests/startup_buffer_address_check.py ok (0.3s), tests/startup_compute_request_offline_check.py ok (0.3s), tests/startup_compute_translate_check.py ok (0.2s), tests/startup_flat_param_check.py ok (0.1s), tests/startup_gfx2hlsl_add_sub_co_check.py ok (0.1s), tests/startup_gfx2hlsl_bit_alu_check.py ok (0.5s), tests/startup_gfx2hlsl_capture_check.py ok (0.7s), tests/startup_gfx2hlsl_cmp16_check.py ok (0.2s), tests/startup_gfx2hlsl_compare_dst_check.py ok (0.1s), tests/startup_gfx2hlsl_compute_check.py ok (0.2s), tests/startup_gfx2hlsl_cselect_mask_check.py ok (0.1s), tests/startup_gfx2hlsl_cvt_alu_check.py ok (0.1s), tests/startup_gfx2hlsl_f32_lg_check.py ok (0.9s), tests/startup_gfx2hlsl_f32_nan_check.py ok (3.9s), tests/startup_gfx2hlsl_handler_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_arity_check.py ok (0.1s), tests/startup_gfx2hlsl_image_get_lod_check.py ok (0.1s), tests/startup_gfx2hlsl_int_med3_check.py ok (0.1s), tests/startup_gfx2hlsl_join_symbols_check.py ok (0.1s), tests/startup_gfx2hlsl_loop_constants_check.py ok (0.1s), tests/startup_gfx2hlsl_mask_overwrite_check.py ok (0.1s), tests/startup_gfx2hlsl_operand_count_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_recompute_check.py ok (0.1s), tests/startup_gfx2hlsl_readfirstlane_uniform_check.py ok (0.1s), tests/startup_gfx2hlsl_refusals_check.py ok (0.3s), tests/startup_gfx2hlsl_root_check.py ok (0.5s), tests/startup_gfx2hlsl_saveexec_same_reg_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_brev_fold_check.py ok (0.1s), tests/startup_gfx2hlsl_scalar_m0_check.py ok (0.1s), tests/startup_gfx2hlsl_sdwa_cvt_check.py ok (0.2s), tests/startup_gfx2hlsl_sgpr_spill_check.py ok (0.1s), tests/startup_gfx2hlsl_shift64_check.py ok (0.1s), tests/startup_gfx2hlsl_smem_offset_check.py ok (0.1s), tests/startup_gfx2hlsl_sop2_complement_check.py ok (3.3s), tests/startup_gfx2hlsl_sopk_accum_check.py ok (0.6s), tests/startup_gfx2hlsl_sopk_signext_check.py ok (0.1s), tests/startup_gfx2hlsl_swap_check.py ok (0.2s), tests/startup_gfx2hlsl_vopc_sdwa_check.py ok (3.5s), tests/startup_gfx2hlsl_watch_check.py ok (2.2s), tests/startup_image_2d_array_check.py ok (0.1s), tests/startup_image_3d_check.py ok (0.1s), tests/startup_image_gather_lz_check.py ok (0.4s), tests/startup_image_load_d16_check.py ok (0.7s), tests/startup_image_sample_a16_check.py ok (0.1s), tests/startup_image_sample_b_check.py ok (0.1s), tests/startup_image_sample_c_check.py ok (0.2s), tests/startup_image_sample_l_check.py ok (0.1s), tests/startup_image_sample_lod_check.py ok (0.1s), tests/startup_inline_sampler_check.py ok (0.1s), tests/startup_run_ps1_check.py ok (7.7s), tests/startup_run_sh_check.py FAIL (0.1s), tests/startup_sampler_heap_check.py ok (0.1s), tests/startup_smem_address_check.py ok (0.1s), tests/startup_stream_fetch_check.py ok (0.2s), tests/startup_stream_interface_check.py ok (0.2s), tests/startup_translator_check.py ok (0.4s)
  • sccache: 0/6 hits; wall 169.6s

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7169493534 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2453#issuecomment-7169493534). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T17:25:54Z. --- Win2025 WARP receipt for head 275e34ad after updating with main. Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit `275e34ad18e2f276eff7382f7175fbe4c3066d32`: - **Debug (`--preset dev`)**: - Build (`cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `20.76s` (configure `1.63s`) - Test (`ctest --preset dev -R '^startup_(gfx2hlsl|translat)' --parallel 6 --no-tests=error --output-on-failure`): **134/134 passed** (`66.07s`: `startup_gfx2hlsl_cvt_alu_warp` `8.78s`, `startup_gfx2hlsl_f32_nan` `10.36s`, `startup_gfx2hlsl_f32_nan_warp` `15.78s`, `startup_gfx2hlsl_f32_nan_hardware` `15.96s`, `startup_gfx2hlsl_bit_alu_warp` `7.53s`, `startup_gfx2hlsl_sop2_complement` `7.52s`, `startup_gfx2hlsl_f32_lg_warp` `5.30s`, `startup_gfx2hlsl_f32_sdwa_warp` `21.22s`, `startup_gfx2hlsl_f32_sdwa_hardware` `21.34s`, `startup_gfx2hlsl_cvt_alu_hardware` `6.42s`, `startup_gfx2hlsl_bit_alu_hardware` `7.27s`, `startup_gfx2hlsl_cmp_class_f16` `6.52s`, `startup_gfx2hlsl_s_lshl_add` `6.35s`, `startup_gfx2hlsl_vopc_sdwa` `7.81s`, `startup_gfx2hlsl_cmp_class` `8.31s`, `startup_gfx2hlsl_f32_sdwa` `4.83s`, `startup_gfx2hlsl_sdwa_cvt_warp` `10.96s`, `startup_gfx2hlsl_shift64_warp` `12.78s`, `startup_gfx2hlsl_watch` `3.67s`, `startup_gfx2hlsl_dpp_pair_warp` `8.55s`, `startup_gfx2hlsl_f32_lg_hardware` `16.19s`, `startup_gfx2hlsl_shift64_hardware` `13.11s`, `startup_gfx2hlsl_dpp_pair_hardware` `6.36s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `7.00s`, `startup_gfx2hlsl_cmp16_warp` `6.28s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `7.92s`, `startup_gfx2hlsl_compute_hardware` `7.64s`, `startup_gfx2hlsl_cmp16_hardware` `6.88s`, `startup_gfx2hlsl_f32_lg` `2.85s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `7.48s`, `startup_gfx2hlsl_mad_dispatch_warp` `6.25s`, `startup_gfx2hlsl_scalar_m0_warp` `3.71s`, `startup_gfx2hlsl_mad_dispatch_hardware` `6.31s`, `startup_gfx2hlsl_mad_preserve_warp` `4.41s`, `startup_gfx2hlsl_vopc_sdwa_warp` `5.28s`, `startup_gfx2hlsl_capture` `2.37s`, `startup_gfx2hlsl_compute_warp` `8.78s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `4.98s`, `startup_gfx2hlsl_mad_preserve_hardware` `3.90s`, `startup_gfx2hlsl_compute_mbcnt_warp` `2.08s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `2.92s`, `startup_gfx2hlsl_mul_hi_warp` `3.14s`, `startup_gfx2hlsl_scalar_m0_hardware` `3.47s`, `startup_gfx2hlsl_sgpr_spill_warp` `3.81s`, `startup_gfx2hlsl_interp_f16_warp` `2.62s`, `startup_gfx2hlsl_sopk_accum` `1.82s`, `startup_gfx2hlsl_root` `2.11s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.91s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `4.42s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `3.92s`, `startup_gfx2hlsl_sgpr_spill_hardware` `5.15s`, `startup_gfx2hlsl_interp_f16_hardware` `4.12s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `1.08s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.86s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.94s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.94s`, `startup_gfx2hlsl_bit_alu_controls` `1.08s`, `startup_gfx2hlsl_compute_controls` `0.51s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.56s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.38s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.48s`, `startup_gfx2hlsl_mul_hi_hardware` `3.92s`, `startup_gfx2hlsl_join_symbols_warp` `0.58s`, `startup_gfx2hlsl_refusals` `0.65s`, `startup_gfx2hlsl_sdwa` `0.28s`, `startup_gfx2hlsl_buffer_store` `0.71s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `1.08s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `1.13s`, `startup_gfx2hlsl_join_symbols_controls` `0.28s`, `startup_gfx2hlsl_draw_skip` `0.69s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.29s`, `startup_gfx2hlsl_swap` `0.44s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.41s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.41s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.41s`, `startup_gfx2hlsl_join_symbols_hardware` `0.54s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.40s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.36s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.35s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.37s`, `startup_gfx2hlsl_sdwa_cvt` `0.45s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.33s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.33s`, `startup_gfx2hlsl_cvt_alu_controls` `0.17s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.33s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.32s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.34s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.32s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.35s`, `startup_gfx2hlsl_interp_f16_controls` `0.20s`, `startup_gfx2hlsl_cmp16_controls` `0.33s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.24s`, `startup_gfx2hlsl_operand_count` `0.23s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.16s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.22s`, `startup_gfx2hlsl_sopk_signext` `0.17s`, `startup_gfx2hlsl_shift64_controls` `0.18s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.27s`, `startup_gfx2hlsl_export_mask` `0.16s`, `startup_translator` `0.54s`, `startup_gfx2hlsl_dpp_pair` `0.14s`, `startup_gfx2hlsl_export_mask_drop_control` `0.16s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.14s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.14s`, `startup_gfx2hlsl_add_sub_co_controls` `0.14s`, `startup_gfx2hlsl_s_sext_cmov` `0.12s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.14s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.14s`, `startup_gfx2hlsl_calculated_target` `0.14s`, `startup_gfx2hlsl_mul_hi_controls` `0.15s`, `startup_gfx2hlsl_opsel` `0.11s`, `startup_gfx2hlsl_vcvt_omod` `0.13s`, `startup_gfx2hlsl_cndmask_neg` `0.12s`, `startup_gfx2hlsl_smem_offset` `0.12s`, `startup_gfx2hlsl_tbuffer_16f` `0.13s`, `startup_gfx2hlsl_int_med3_controls` `0.17s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.11s`, `startup_gfx2hlsl_cselect_mask_controls` `0.13s`, `startup_gfx2hlsl_s_bitcmp` `0.13s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.13s`, `startup_gfx2hlsl_op_refusals` `0.11s`, `startup_gfx2hlsl_b64_shift` `0.12s`, `startup_gfx2hlsl_handler_arity` `0.12s`, `startup_gfx2hlsl_neg_operand` `0.11s`, `startup_gfx2hlsl_loop_constants` `0.12s`, `startup_gfx2hlsl_compare_dst_controls` `0.11s`, `startup_gfx2hlsl_mad_controls` `0.14s`, `startup_translated_sampler_bindings` `0.02s`, `startup_translated_sampler_bindings_shared_axis_control` `0.02s`, `startup_gfx2hlsl_scalar_brev_fold` `0.14s`, `startup_gfx2hlsl_image_get_lod_controls` `0.12s`, `startup_gfx2hlsl_image_arity` `0.10s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.11s`) - **Release `/O2` (`--preset release`)**: - Build (`cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2`): `68.01s` (configure `1.67s`) - Test (`ctest --preset release -R '^startup_(gfx2hlsl|translat)' --parallel 6 --no-tests=error --output-on-failure`): **134/134 passed** (`35.78s`: `startup_gfx2hlsl_vopc_sdwa` `8.12s`, `startup_gfx2hlsl_f32_nan` `8.58s`, `startup_gfx2hlsl_f32_nan_hardware` `13.92s`, `startup_gfx2hlsl_f32_nan_warp` `13.98s`, `startup_gfx2hlsl_cvt_alu_warp` `5.89s`, `startup_gfx2hlsl_bit_alu_hardware` `6.64s`, `startup_gfx2hlsl_f32_sdwa_warp` `18.58s`, `startup_gfx2hlsl_f32_sdwa_hardware` `18.73s`, `startup_gfx2hlsl_cvt_alu_hardware` `5.56s`, `startup_gfx2hlsl_cmp_class_f16` `5.69s`, `startup_gfx2hlsl_cmp_class` `6.36s`, `startup_gfx2hlsl_bit_alu_warp` `6.28s`, `startup_gfx2hlsl_s_lshl_add` `4.84s`, `startup_gfx2hlsl_shift64_hardware` `3.30s`, `startup_gfx2hlsl_f32_lg_hardware` `4.40s`, `startup_gfx2hlsl_sop2_complement` `5.64s`, `startup_gfx2hlsl_f32_lg_warp` `4.55s`, `startup_gfx2hlsl_shift64_warp` `3.37s`, `startup_gfx2hlsl_mad_dispatch_hardware` `1.60s`, `startup_gfx2hlsl_compute_hardware` `2.25s`, `startup_gfx2hlsl_dpp_quad_swap_hardware` `2.06s`, `startup_gfx2hlsl_f32_sdwa` `2.89s`, `startup_gfx2hlsl_dpp_quad_swap_warp` `1.96s`, `startup_gfx2hlsl_watch` `2.71s`, `startup_gfx2hlsl_cmp16_warp` `1.86s`, `startup_gfx2hlsl_dpp_pair_hardware` `1.89s`, `startup_gfx2hlsl_dpp_pair_warp` `1.92s`, `startup_gfx2hlsl_sdwa_cvt_hardware` `1.92s`, `startup_gfx2hlsl_cmp16_hardware` `1.98s`, `startup_gfx2hlsl_sdwa_cvt_warp` `1.93s`, `startup_gfx2hlsl_f32_lg` `1.75s`, `startup_gfx2hlsl_mad_dispatch_warp` `1.59s`, `startup_gfx2hlsl_vopc_sdwa_hardware` `1.34s`, `startup_gfx2hlsl_mad_preserve_hardware` `1.02s`, `startup_gfx2hlsl_compute_warp` `2.13s`, `startup_gfx2hlsl_scalar_m0_hardware` `1.17s`, `startup_gfx2hlsl_scalar_m0_warp` `1.17s`, `startup_gfx2hlsl_vopc_sdwa_warp` `1.28s`, `startup_gfx2hlsl_sopk_accum` `1.01s`, `startup_gfx2hlsl_sgpr_spill_warp` `0.95s`, `startup_gfx2hlsl_capture` `1.21s`, `startup_gfx2hlsl_mad_preserve_warp` `0.99s`, `startup_gfx2hlsl_mul_hi_warp` `0.98s`, `startup_gfx2hlsl_sgpr_spill_hardware` `0.99s`, `startup_gfx2hlsl_interp_f16_hardware` `0.85s`, `startup_gfx2hlsl_dpp_quad_broadcast_warp` `0.94s`, `startup_gfx2hlsl_interp_f16_warp` `0.87s`, `startup_gfx2hlsl_dpp_quad_broadcast_hardware` `0.96s`, `startup_gfx2hlsl_cvt_pk_u8_warp` `0.87s`, `startup_gfx2hlsl_root` `0.80s`, `startup_gfx2hlsl_cvt_pk_u8_hardware` `0.96s`, `startup_gfx2hlsl_compute_mbcnt_warp` `0.91s`, `startup_gfx2hlsl_bit_alu_controls` `0.96s`, `startup_gfx2hlsl_mul_hi_hardware` `1.15s`, `startup_gfx2hlsl_compute_controls` `0.33s`, `startup_gfx2hlsl_draw_skip` `0.50s`, `startup_gfx2hlsl_compute_mbcnt_hardware` `0.77s`, `startup_gfx2hlsl_buffer_store` `0.57s`, `startup_gfx2hlsl_join_symbols_warp` `0.37s`, `startup_gfx2hlsl_refusals` `0.54s`, `startup_gfx2hlsl_compute_g-overlap_warp` `0.28s`, `startup_gfx2hlsl_sdwa` `0.20s`, `startup_gfx2hlsl_join_symbols_hardware` `0.35s`, `startup_gfx2hlsl_compute_b-offset_warp` `0.28s`, `startup_gfx2hlsl_compute_c-unpredicated_warp` `0.29s`, `startup_gfx2hlsl_compute_g-swapped-offsets_warp` `0.28s`, `startup_gfx2hlsl_compute_swapped-axes_warp` `0.29s`, `startup_gfx2hlsl_compute_dropped-store_warp` `0.29s`, `startup_gfx2hlsl_compute_k-block-entered_hardware` `0.30s`, `startup_gfx2hlsl_compute_j-scalar-dropped_hardware` `0.30s`, `startup_gfx2hlsl_compute_j-scalar-dropped_warp` `0.31s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_warp` `0.30s`, `startup_gfx2hlsl_join_symbols_controls` `0.23s`, `startup_gfx2hlsl_compute_f-broadcast_hardware` `0.28s`, `startup_gfx2hlsl_compute_g-overlap_hardware` `0.29s`, `startup_gfx2hlsl_compute_f-peer_hardware` `0.28s`, `startup_gfx2hlsl_cmp16_controls` `0.26s`, `startup_gfx2hlsl_compute_h-inner-unpredicated_hardware` `0.31s`, `startup_gfx2hlsl_compute_g-swapped-offsets_hardware` `0.29s`, `startup_gfx2hlsl_compute_swapped-axes_hardware` `0.27s`, `startup_gfx2hlsl_compute_c-unpredicated_hardware` `0.28s`, `startup_gfx2hlsl_compute_f-peer_warp` `0.28s`, `startup_gfx2hlsl_compute_b-offset_hardware` `0.31s`, `startup_gfx2hlsl_compute_k-block-entered_warp` `0.29s`, `startup_gfx2hlsl_compute_dropped-store_hardware` `0.28s`, `startup_gfx2hlsl_compute_f-broadcast_warp` `0.29s`, `startup_gfx2hlsl_scalar_shift64_bfe_controls` `0.24s`, `startup_gfx2hlsl_swap` `0.31s`, `startup_gfx2hlsl_join_symbols_folded_hardware` `0.20s`, `startup_gfx2hlsl_dpp_quad_swap_controls` `0.14s`, `startup_gfx2hlsl_cvt_alu_controls` `0.15s`, `startup_gfx2hlsl_interp_f16_controls` `0.22s`, `startup_gfx2hlsl_sdwa_cvt` `0.32s`, `startup_gfx2hlsl_operand_count` `0.19s`, `startup_gfx2hlsl_join_symbols_folded_warp` `0.20s`, `startup_gfx2hlsl_shift64_controls` `0.15s`, `startup_gfx2hlsl_sample_c_lz_mip` `0.19s`, `startup_gfx2hlsl_sopk_signext` `0.15s`, `startup_gfx2hlsl_readfirstlane_uniform` `0.11s`, `startup_gfx2hlsl_dpp_pair` `0.15s`, `startup_gfx2hlsl_scalar_m0_controls` `0.11s`, `startup_gfx2hlsl_cndmask_neg` `0.11s`, `startup_gfx2hlsl_vcvt_omod` `0.11s`, `startup_gfx2hlsl_dpp_quad_broadcast` `0.13s`, `startup_gfx2hlsl_mad_controls` `0.13s`, `startup_gfx2hlsl_sgpr_spill_controls` `0.13s`, `startup_gfx2hlsl_mul_hi_controls` `0.13s`, `startup_gfx2hlsl_export_mask_drop_control` `0.15s`, `startup_translator` `0.52s`, `startup_gfx2hlsl_export_mask` `0.13s`, `startup_gfx2hlsl_cvt_pk_u8_controls` `0.12s`, `startup_gfx2hlsl_opsel` `0.11s`, `startup_gfx2hlsl_smem_offset` `0.11s`, `startup_gfx2hlsl_b64_shift` `0.10s`, `startup_gfx2hlsl_tbuffer_16f` `0.10s`, `startup_gfx2hlsl_int_med3_controls` `0.12s`, `startup_gfx2hlsl_add_sub_co_controls` `0.13s`, `startup_gfx2hlsl_s_sext_cmov` `0.13s`, `startup_gfx2hlsl_scalar_brev_fold` `0.12s`, `startup_gfx2hlsl_image_get_lod_controls` `0.12s`, `startup_gfx2hlsl_calculated_target` `0.12s`, `startup_gfx2hlsl_s_bitcmp` `0.13s`, `startup_gfx2hlsl_op_refusals` `0.10s`, `startup_gfx2hlsl_mask_overwrite_controls` `0.11s`, `startup_gfx2hlsl_saveexec_same_reg_controls` `0.11s`, `startup_gfx2hlsl_cselect_mask_controls` `0.13s`, `startup_gfx2hlsl_readfirstlane_recompute` `0.12s`, `startup_translated_sampler_bindings` `0.02s`, `startup_gfx2hlsl_handler_arity` `0.13s`, `startup_gfx2hlsl_image_arity` `0.12s`, `startup_gfx2hlsl_loop_constants` `0.10s`, `startup_translated_sampler_bindings_shared_axis_control` `0.01s`, `startup_gfx2hlsl_neg_operand` `0.10s`, `startup_gfx2hlsl_compare_dst_controls` `0.09s`) - **Windows Python checks**: `tests/mesh_heap_sampler_check.py` ok (`0.5s`), `tests/startup_buffer_address_check.py` ok (`0.3s`), `tests/startup_compute_request_offline_check.py` ok (`0.3s`), `tests/startup_compute_translate_check.py` ok (`0.2s`), `tests/startup_flat_param_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_add_sub_co_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_bit_alu_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_capture_check.py` ok (`0.7s`), `tests/startup_gfx2hlsl_cmp16_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_compare_dst_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_compute_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_cselect_mask_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_cvt_alu_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_f32_lg_check.py` ok (`0.9s`), `tests/startup_gfx2hlsl_f32_nan_check.py` ok (`3.9s`), `tests/startup_gfx2hlsl_handler_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_arity_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_image_get_lod_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_int_med3_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_join_symbols_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_loop_constants_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_mask_overwrite_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_operand_count_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_recompute_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_readfirstlane_uniform_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_refusals_check.py` ok (`0.3s`), `tests/startup_gfx2hlsl_root_check.py` ok (`0.5s`), `tests/startup_gfx2hlsl_saveexec_same_reg_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_brev_fold_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_scalar_m0_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sdwa_cvt_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_sgpr_spill_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_shift64_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_smem_offset_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_sop2_complement_check.py` ok (`3.3s`), `tests/startup_gfx2hlsl_sopk_accum_check.py` ok (`0.6s`), `tests/startup_gfx2hlsl_sopk_signext_check.py` ok (`0.1s`), `tests/startup_gfx2hlsl_swap_check.py` ok (`0.2s`), `tests/startup_gfx2hlsl_vopc_sdwa_check.py` ok (`3.5s`), `tests/startup_gfx2hlsl_watch_check.py` ok (`2.2s`), `tests/startup_image_2d_array_check.py` ok (`0.1s`), `tests/startup_image_3d_check.py` ok (`0.1s`), `tests/startup_image_gather_lz_check.py` ok (`0.4s`), `tests/startup_image_load_d16_check.py` ok (`0.7s`), `tests/startup_image_sample_a16_check.py` ok (`0.1s`), `tests/startup_image_sample_b_check.py` ok (`0.1s`), `tests/startup_image_sample_c_check.py` ok (`0.2s`), `tests/startup_image_sample_l_check.py` ok (`0.1s`), `tests/startup_image_sample_lod_check.py` ok (`0.1s`), `tests/startup_inline_sampler_check.py` ok (`0.1s`), `tests/startup_run_ps1_check.py` ok (`7.7s`), `tests/startup_run_sh_check.py` FAIL (`0.1s`), `tests/startup_sampler_heap_check.py` ok (`0.1s`), `tests/startup_smem_address_check.py` ok (`0.1s`), `tests/startup_stream_fetch_check.py` ok (`0.2s`), `tests/startup_stream_interface_check.py` ok (`0.2s`), `tests/startup_translator_check.py` ok (`0.4s`) - `sccache`: 0/6 hits; wall `169.6s` AI-assisted; commands listed were executed locally.
upstream-sync closed this pull request 2026-11-25 19:03:50 +00:00
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!2445
No description provided.