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

Limit VM registers to 16 for RV32E #18

Open
lrettig opened this issue Jun 9, 2024 · 0 comments
Open

Limit VM registers to 16 for RV32E #18

lrettig opened this issue Jun 9, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@lrettig
Copy link
Contributor

lrettig commented Jun 9, 2024

Right now the VM implements 32 registers. It can run RV32E programs, which only use 16 registers, just fine, but we should probably not let the VM use the higher 16 registers when running in "E" mode. An RV32E program that tried to use a register >= 16 should produce an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant