Skip to content

Recompiler: rebuild partial-wave graphics reductions - #255

Draft
bmjask wants to merge 1 commit into
stack/251-order-split-wave64-ldsfrom
stack/252-partial-wave-reductions
Draft

bmjask wants to merge 1 commit into
stack/251-order-split-wave64-ldsfrom
stack/252-partial-wave-reductions

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #254.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates recompiler: rebuild partial-wave graphics reductions as one reviewable step in the redesign.

What is in it

  • d502b415 is part of this logical unit.

Tested

The complete rewritten tail was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, rebased the existing logical change onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/251-order-split-wave64-lds branch from e2f268f to f16fc8c Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/252-partial-wave-reductions branch from d502b41 to 67177c6 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/251-order-split-wave64-lds branch from f16fc8c to 2b6bb14 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/252-partial-wave-reductions branch from 67177c6 to 06c5f4e Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/251-order-split-wave64-lds branch from 2b6bb14 to 4fcd909 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/252-partial-wave-reductions branch 3 times, most recently from 751a7a3 to e1eda86 Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/251-order-split-wave64-lds branch from 277ff9d to dbcac65 Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/252-partial-wave-reductions branch from e1eda86 to 784791a Compare November 27, 2026 12:52
Recognize the compiler's exact min, max, and/or whole-wave pattern only when its saved-EXEC mask provenance and instruction flow are proven. Rebuild it with wave operations over launched lanes, repair the accumulator, and route recognized direct-DXIL graphics stages through the HLSL path.

The RTX partial-wave regression remains hardware-gated; GNU cross-target library, test, and bench compilation passes on Linux.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/252-partial-wave-reductions branch from 784791a to fb0931d Compare November 28, 2026 01:35
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

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.

@github-actions github-actions Bot added the stale label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant