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

JitArm64: Fix fresx/frsqrtex unlocking W0 too early #10097

Merged
merged 2 commits into from Sep 14, 2021

Conversation

JosJuice
Copy link
Member

fpr.RW may clobber GPRs that are not locked. Fixes https://bugs.dolphin-emu.org/issues/12656.

If W0 is locked when fpr.RW is called, the indirectly called
ConvertSingleToDoubleLower may need to emit a push+pop, so it's
better for fresx/frsqrtex to call RW before locking W0 than after.
@Pokechu22
Copy link
Contributor

Also fixes https://bugs.dolphin-emu.org/issues/12665, apparently.

@leoetlino leoetlino merged commit 15ec7bd into dolphin-emu:master Sep 14, 2021
11 checks passed
@JosJuice JosJuice deleted the jitarm64-w0-clobber branch September 14, 2021 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants