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

Jit64: Jump to dispatcher_no_check from InitializeSpeculativeConstants #11169

Conversation

JosJuice
Copy link
Member

Jumping to dispatcher requires first subtracting the downcount, otherwise dispatcher may unpredictably jump to CoreTiming::Advance, which could break determinism compatibility with JitArm64. We should jump to dispatcher_no_check instead.

Jumping to `dispatcher` requires first subtracting the downcount,
otherwise `dispatcher` may unpredictably jump to CoreTiming::Advance,
which could break determinism compatibility with JitArm64. We should
jump to `dispatcher_no_check` instead.
@AdmiralCurtiss
Copy link
Contributor

Makes sense.

@AdmiralCurtiss AdmiralCurtiss merged commit 85f7cf7 into dolphin-emu:master Oct 15, 2022
11 checks passed
@JosJuice JosJuice deleted the jit64-speculative-constants-dispatcher branch October 15, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants