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

Implement FPU rounding mode support in the IR interpreter #19280

Merged
merged 3 commits into from
Jun 19, 2024

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jun 19, 2024

Implemented for x86/x64 and ARM64.

Should fix reported issues with unbeatable bosses in Metal Gear on iOS (which can only use the IR interpreter, so effectively re-fixing #2845 and also #3988 on this backend.

Also I'm noticing that our IR interpreter uses suboptimal methods to convert float to int, some inline assembly would help. However, I'll leave fixing that for a future change.

@hrydgard hrydgard added the IRInterpreter Occurs with IR Interpreter but not with another CPU backend. label Jun 19, 2024
@hrydgard hrydgard added this to the v1.18.0 milestone Jun 19, 2024
@hrydgard hrydgard marked this pull request as ready for review June 19, 2024 18:09
@hrydgard hrydgard merged commit 7bc7693 into master Jun 19, 2024
18 checks passed
@hrydgard hrydgard deleted the ir-interpreter-rounding branch June 19, 2024 18:44
@hrydgard hrydgard mentioned this pull request Jun 20, 2024
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IRInterpreter Occurs with IR Interpreter but not with another CPU backend.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant