Repository navigation
Conversation
|
Independent verification on Windows 11 (Python 3.14.7, head
Looks good to merge. AI-assisted. |
|
Reviewed 2889275 (code read + CPU tests on Linux, Python 3.14): pass.
AI-assisted (Claude Code). |
|
Independent test on Apple M4 at head
Verdict: works on Apple M4. No output change on the shard and the pass is about 7× faster. AI-assisted. |
Kam471
left a comment
There was a problem hiding this comment.
Head 2889275d4683 · Verdict: LGTM
python -I -m pytest tests/test_f64_output_modifiers.py -q → 3 passed, 7 subtests. git diff --check clean.
The literal-prefix scan plus per-line fullmatch picks the same result IDs as the old anchored regex while skipping OpName strings and comments; the new test covers both. No blockers.
|
Tested 2889275 on Intel UHD Graphics 630 (CFL GT2): test_f64_output_modifiers.py runs 3 tests OK, tests/test_translate.py gives 581 passed, 4 skipped, and run_gpu_tests.py --filter fma passes 3/3 ("PASS cs_fma_fused 8/8 fused exact (GLSL Fma)", ps_fma_literal and ps_fmac_f16_mods 4096/4096 pixels exact). With LEONIDA_VK_DEVICE=NoSuchDevice the same filter fails 0/3 with "no Vulkan physical device matches". The full GPU suite gives 148/210 passed, 60 skipped, with FAIL cs_fmt_int_narrow and FAIL cs_signed_zero_nan, and the same counts and the same two FAILs on the base commit 03b09a0. The Windows claims in the description were not reproduced. AI-assisted. |
|
Tested 2889275 on Windows 11, Python 3.11 (CPU only): pass after a merge with |
2889275 to
e982d41
Compare
|
Rebased onto \origin/main\ \561b65a83\ (head $sha) per @caltr98's suggestion so CI runs on current \main. \python -I tests/test_f64_output_modifiers.py\ passes (3/3 OK). AI-assisted. |
|
Tested
AI-assisted (Claude Code). |
Claimed as BUILD-1758 in coordination.
What and why
Find the literal float opcode prefix first, then apply the existing whitespace and result-ID constraint to each candidate line. The pass still decorates the same instructions in the same order. The regression test covers arithmetic opcodes, indentation, lookalike opcodes, comments and debug names.
Tested
Windows 11, Ryzen 9 5900X, CPython 3.12.10. Four warmed alternating process pairs on the same 221 synthetic listings (16.9 million emitted assembly characters). Median CPU translation time fell from 1.899 s to 1.593 s (16.1%); the isolated NoContraction pass fell from 205.35 ms to 24.89 ms.
On
3faac557, the standalone patch, and the patch combined with BUILD-1709: skip the dispatch-switch scan on unaffected shaders #5344, all 221/221 fixtures translated and passed SPIRV-Tools 2026.4. Both the SPIR-V assembly and binary output matched byte for byte. Forced dispatch also emitted identical assembly.Passed seven focused tests on the standalone integration and four switch tests on the combined integration with BUILD-1709: skip the dispatch-switch scan on unaffected shaders #5344. A synthetic parity probe additionally checked 40,000 candidate-line variants against the baseline matcher.
Follow-up GPU run on Radeon RX 6800, AMD 26.11.2 / Windows driver 32.0.21045.29003, with wave64 emulation and the optional Vulkan validation layer off. On both main and this standalone integration, all 221 shaders translated and passed spirv-val. All 235 generated SPIR-V binaries, including auxiliary modules, were byte-identical. The integration passed 201 Vulkan checks with 16 skips and no failures. Hardware report.
AI-assisted (OpenAI Codex). Repository synthetic inputs only.