Skip to content

perf(recomp): prefilter VFPU rewrite candidates - #39

Merged
github-actions[bot] merged 1 commit into
masterfrom
perf/vfpu-prefilter-38
Nov 4, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
perf/vfpu-prefilter-38

Conversation

@endercodezz

Copy link
Copy Markdown
Owner

Change

PSPRecomp now locates literal VFPU helper names before matching each of the twelve existing regex rules. Rules and replacement formats retain their order. This is the production follow-up to the C++ and Rust experiment in #36.

Verification

  • Windows Release build passed. Incremental generation rewrote 0 of 237 units.
  • Fresh diagnostic generation took 9.26 s versus 40.31 s before the change, one run each. Fresh diagnostic and release generations each matched the corresponding original 240-file output by filename and SHA-256. AOT layout checks passed for both.
  • CTest passed 27/27 and stable bootstrap passed. Two 20M-dispatch replays matched the pre-change event file at SHA-256 1a5f566002148933522c869ed3febb9eae3d652764501d20e8437b3b1898e605 and reached the same limit at 0x08A87150.
  • Local timing was measured on Windows. Hardware was outside the scope of this generator change.

Closes #38

Search for the literal helper prefix before applying each ordered regex at a candidate offset.

Verified: 240 output hashes matched per mode, Release CTest 27/27, stable bootstrap and two matching baseline replays at PC 0x08A87150.
@github-actions
github-actions Bot enabled auto-merge November 4, 2026 22:38
@github-actions
github-actions Bot merged commit f17c430 into master Nov 4, 2026
4 checks passed
@endercodezz
endercodezz deleted the perf/vfpu-prefilter-38 branch November 4, 2026 23:01
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.

Skip full-unit regex scans in production VFPU lowering

1 participant