Skip to content

Implement vandc, vpkswss, macchwu, maclhwu - #3

Open
spartanxjoe wants to merge 3 commits into
pr/switch-aware-walkerfrom
pr/burst-limit-opcodes
Open

Implement vandc, vpkswss, macchwu, maclhwu#3
spartanxjoe wants to merge 3 commits into
pr/switch-aware-walkerfrom
pr/burst-limit-opcodes

Conversation

@spartanxjoe

Copy link
Copy Markdown
Owner

Depends on: #2 (switch-aware)

Summary

Four PPC opcodes used by Burst Limit (+20 lines in recompiler.cpp):

Opcode Sites (BL) Notes
vandc 4 with existing VANDC128 path
vpkswss 2 overlaps hedge-dev#181
macchwu / maclhwu 3 405-style halfword MAC

Burst Limit KPI

Metric before (PR-B) this PR
unrecognized_instructions 9 0

Full stack A+B+C keeps switch_outside_function at 0.

Upstream compare

hedge-dev/XenonRecomp@main...spartanxjoe:XenonRecomp:pr/burst-limit-opcodes

Notes

Raging Blast 2 still has ~9.8k unrecognized (different opcode cliff; switch Analyse empty). Out of scope for this PR.

Joseph added 3 commits July 31, 2026 21:32
Burst Limit unrecognized_instructions: 9 → 0
(vandc×4, macchwu×2, vpkswss×2, maclhwu×1).
vandc/vpkswss overlap hedge-dev#181; mac* are 405-style halfword MAC.
tools/verify_recomp_metrics.py validates real XenonRecomp recomp_report.json,
AUTO rest/save logs, and empty jumptable (switch KPI N/A). Fixtures under
tools/testdata/. rb2_test/VERIFY_REPORT.md records main vs current A/B.
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