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

Jits: Don't use fast double-to-single when input is double precision #9818

Merged
merged 1 commit into from Aug 17, 2021

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Jun 16, 2021

The fast path of using CVTSD2SS/FCVTN rounds the significand if it can't be exactly represented as a single, whereas the accurate path instead truncates the significand. So we should only use the fast path if we know that the lower bits of the significand are not set.

This is not known to affect any games.

The fast path of using CVTSD2SS/FCVTN rounds the significand if it
can't be exactly represented as a single, whereas the accurate path
instead truncates the significand. So we should only use the fast
path if we know that the lower bits of the significand are not set.

This is not known to affect any games.
@JMC47 JMC47 merged commit a36855c into dolphin-emu:master Aug 17, 2021
11 checks passed
@JosJuice JosJuice deleted the jits-cdts-double branch August 17, 2021 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants