Sitelet https://github.com/86Box/86Box/pull/7987
Skip to content

New recompiler changes from PCBox - #7987

Open
OBattler wants to merge 73 commits into
masterfrom
pcbox_ndr_changes
Open

OBattler wants to merge 73 commits into
masterfrom
pcbox_ndr_changes

Conversation

@OBattler

Copy link
Copy Markdown
Member

Summary

Briefly describe what you are submitting.

Checklist

References

Provide links to datasheets or other documentation that helped you implement this pull request.

ChrisDeadman and others added 30 commits September 1, 2026 11:38
Add dynarec codegen handlers for LODS byte/word/dword (opcodes 0xAC,
0xAD) using uop_CALL_FUNC for DF-conditional SI/ESI adjustment.
This eliminates interpreter fallback for LODS which was a top hotspot.
Add flags_rebuild_zpna() that materializes only ZF/NF/PF/AF, skipping
the expensive CF_SET() and VF_SET() computations. Use it in all 28
ROL/ROR dynarec paths, since FLAGS_ROLxx/RORxx compute CF and VF
lazily from flags_res and only need Z/N/P/A from cpu_state.flags.
… causing Hitman Code 47 to crash on start-up, fixes #7346."

This reverts commit e20d779.
bachimusprime and others added 30 commits September 1, 2026 12: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.

4 participants