Skip to content

Misc. changes for new dynamic recompiler#5273

Merged
OBattler merged 1 commit into
86Box:masterfrom
Cacodemon345:x64-ndr-fixes
Mar 2, 2025
Merged

Misc. changes for new dynamic recompiler#5273
OBattler merged 1 commit into
86Box:masterfrom
Cacodemon345:x64-ndr-fixes

Conversation

@Cacodemon345

Copy link
Copy Markdown
Member

Summary

  1. NDR is now enforced on ARMv7/ARM64 instead of bombing out with an error.
  2. Make GCC/Clang not use anything in the red zone on x64 for now.
  3. Compile with -fno-omit-frame-pointer on x64 as well.
  4. More comments for non-commented machine code.
  5. Don't attempt saving/restoring RSI and RDI outside Windows since both are volatile in the System V ABI.

Checklist

References

None.

Force NDR on ARMv7/ARM64

Make GCC/Clang not use anything in the red zone

Compile with `-fno-omit-frame-pointer`
@OBattler OBattler merged commit e2a291e into 86Box:master Mar 2, 2025
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.

2 participants