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

Expand opcodes and reduce subops #12

Open
EdwardLarson opened this issue Nov 25, 2018 · 0 comments
Open

Expand opcodes and reduce subops #12

EdwardLarson opened this issue Nov 25, 2018 · 0 comments
Labels

Comments

@EdwardLarson
Copy link
Owner

Since opcodes are now a full byte, many more can be supported. And since there is now direct dispatch between instructions, but switch statements between subops, moving subop functionality to opcodes will likely result in a performance improvement. Example: Splitting arithmetic instructions into Number and Rational versions, rather than handling it in a subop.
Eventually the goal is to all but eliminate branches (loops, switches, conditionals) within instruction code.

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

No branches or pull requests

1 participant