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

Jit: Don't discard before gather pipe interrupt check #12138

Merged
merged 2 commits into from Sep 10, 2023

Conversation

JosJuice
Copy link
Member

This bug has been lurking in the code ever since I added the discard functionality. It doesn't seem to be triggered all that often, and on top of that the emitted code only runs conditionally, so I'm not sure if people have been affected by this bug in practice or not.

Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks sensible, though I have neither tested it nor verified whether the CanCauseGatherPipeInterruptCheck() check actually catches all instructions that can write to the gather pipe.

I'm also wondering if the last commit should be a separate PR, just so we have separate dev builds for them in case we need a user to bisect on something related to this.

This bug has been lurking in the code ever since I added the discard
functionality. It doesn't seem to be triggered all that often,
and on top of that the emitted code only runs conditionally, so I'm not
sure if people have been affected by this bug in practice or not.
This adds a check for the bug addressed by the previous commit.
@JosJuice
Copy link
Member Author

I've split out the last commit to PR #12178.

@AdmiralCurtiss AdmiralCurtiss merged commit 92d67df into dolphin-emu:master Sep 10, 2023
11 checks passed
@JosJuice JosJuice deleted the jit-gp-check-discard branch September 10, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants