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

Win32 jit fixes #211

Merged
merged 3 commits into from Mar 26, 2014
Merged

Win32 jit fixes #211

merged 3 commits into from Mar 26, 2014

Conversation

magumagu
Copy link
Contributor

Misc fixes to get the JIT working again on win32.

The changes to Source/Core/Common/x64ABI.cpp were taken from shuffle2's ugly-hacks branch, but I think they're both suitable for master.

On Win32, the stack isn't aligned, so aligned stores will cause crashes.
(The numbers need to be consistent with the actual usage, or else the stack gets corrupted.)
I have no idea what the person who added RegistersInUse() was thinking,
but not correctly saving registers is an easy way to end up with crashes.
@delroth
Copy link
Member

delroth commented Mar 26, 2014

@comex @shuffle2 care to review this?

@jezze
Copy link
Contributor

jezze commented Mar 26, 2014

Can confirm this fixes the segfaults I have had. Very good! LGTM

delroth added a commit that referenced this pull request Mar 26, 2014
@delroth delroth merged commit f6a343d into dolphin-emu:master Mar 26, 2014
@magumagu magumagu deleted the win32-jit-fixes branch March 27, 2014 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants