Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip Flushing Instruction Cache on x86 #21

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Sewer56
Copy link
Contributor

@Sewer56 Sewer56 commented Feb 24, 2024

This PR builds on:

So please address that first, as changes from that PR will show as a diff here otherwise.


This PR skips calls to flush_instruction_cache on x86 based architectures. (Left them in for other platforms, in case we ever decide to support ARM64 etc.)

About this PR:

  • Flushing cache is needed for architectures with a separate instruction and data cache.
  • In x86 and x64 these are unified, so this is not necessary.
  • If it turns out this is needed for e.g. x64 emulation on ARM64, it may be re-enabled one day. (but should be considered a Windows emulation bug)

@Sewer56 Sewer56 marked this pull request as ready for review February 24, 2024 00:07
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