Skip to content

Recompiler: bound far-jump analysis initial allocation - #89

Draft
bmjask wants to merge 1 commit into
stack/085-compute-stream-flagsfrom
stack/086-bound-far-jump-allocation
Draft

bmjask wants to merge 1 commit into
stack/085-compute-stream-flagsfrom
stack/086-bound-far-jump-allocation

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #88.

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

What and why

This unit isolates recompiler: bound far-jump analysis initial allocation as one reviewable step in the redesign.

Upstream overlap

This is a follow-up to upstream PR xcl-dev#2656 rather than a duplicate.

What is in it

  • 1297f704 is the cleaned-stack form of integrated commit 64621fc6.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

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, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

The streaming effects fast path capped its initial instruction storage when it only needed to reject memory-writing shaders, but an early S_SETPC_B64 fallback still reserved for the entire shader before seeing a nearby store. Apply the same small initial capacity to the far-jump path and let it grow only when full analysis is required.

Follow-up to xcl-dev#2656.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/086-bound-far-jump-allocation branch from 5cc6d60 to 42892e4 Compare November 27, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant