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

Refactor to use a 'cycles target' #346

Merged
merged 22 commits into from
Oct 7, 2024
Merged

Refactor to use a 'cycles target' #346

merged 22 commits into from
Oct 7, 2024

Conversation

Baekalfen
Copy link
Owner

Refactor as a pre-cursor to JIT-compilation.

Run multiple CPU instructions without checking interrupts, based on information from each sub-component. If state-altering changes are made, we bail our current target and check in with each sub-component as usual. Then reiterate.

This could potentially improve host-performance too, as we're doing less overhead per CPU instruction.

@Baekalfen Baekalfen force-pushed the cpu_target branch 6 times, most recently from 2a0db1a to 9565821 Compare September 21, 2024 12:17
@Baekalfen Baekalfen force-pushed the cpu_target branch 5 times, most recently from 9ae4fc4 to 2a340ec Compare September 30, 2024 07:22
@Baekalfen Baekalfen marked this pull request as ready for review September 30, 2024 20:00
@Baekalfen Baekalfen merged commit 23cbcfc into master Oct 7, 2024
18 checks passed
@Baekalfen Baekalfen deleted the cpu_target branch October 7, 2024 10:49
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

Successfully merging this pull request may close these issues.

1 participant