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

LLE RSP Yielding Issues #6

Open
bryanperris opened this issue Dec 9, 2019 · 0 comments
Open

LLE RSP Yielding Issues #6

bryanperris opened this issue Dec 9, 2019 · 0 comments

Comments

@bryanperris
Copy link
Owner

The CPU is allowed start a RSP task, then continue on without yield to the RSP first, that means depending on the core speeds between the processors for an emulator, there is nothing preventing DMEM race conditions.

A hack is working now for some RSP tests, having the CPU thread always sleep some when it attempts to unhalt the RSP but this solution won't work out well if the RSP gets really busy. Knowing that developers can write code on the real hardware and not have to do any yielding since the the clocks are assumed to never change so that means for LLE, without writing a cycle-accurate system, then yielding has to be forced in ways based on on how fast each Interpreter core executes. May need to generate a graphs on RSP usage patterns of common games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant