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

Interpreter: Fix rounding edge case in frsp #10959

Merged
merged 1 commit into from Aug 9, 2022

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Aug 6, 2022

Fixes the Dolphin bug mentioned in dolphin-emu/hwtests#45.

Because this doesn't fix any observed behavior in games (no, 1080° Avalanche isn't affected), I haven't implemented this in the JITs, so as to not cause unnecessary performance degradations.

Fixes the Dolphin bug mentioned in
dolphin-emu/hwtests#45.

Because this doesn't fix any observed behavior in games (no, 1080°
Avalanche isn't affected), I haven't implemented this in the JITs,
so as to not cause unnecessary performance degradations.
JosJuice added a commit to JosJuice/hwtests that referenced this pull request Aug 6, 2022
I wrote these two tests because I wanted to test if the behavior I
implemented in dolphin-emu/dolphin#10959 should
affect the results of arithmetic operations in addition to frsp. It
turned out that Dolphin was already correctly emulating these two tests
(I frankly don't understand how in the float case), but I figured I
would submit the tests regardless. If nothing else, it's good for
documenting what the real hardware is doing.
@lioncash lioncash merged commit c2dd58c into dolphin-emu:master Aug 9, 2022
11 checks passed
@JosJuice JosJuice deleted the frsp-subnormal branch August 13, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants