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

emulator: Add Zba,Zbc,Zbs instruction sets #33

Merged
merged 5 commits into from
Nov 27, 2024
Merged

emulator: Add Zba,Zbc,Zbs instruction sets #33

merged 5 commits into from
Nov 27, 2024

Conversation

swenson
Copy link
Collaborator

@swenson swenson commented Nov 25, 2024

And enables support in code generation to use them. This saves ~500 bytes or so of instruction space for now (and more in the future).

This has the negative side effect of making tests a little slower to run due to the quantity of macros used in generating all of the test cases.

This work extends the previous Zbb bit manipulation instruction set we supported to include the rest of the b family, all of which are supported by our VeeR CPU.

We also add missing tests for the Zbb instruction set.

We added support for the disassembler as well, including for RV64 (even though the emulator is only RV32).

And enables support in code generation to use them. This saves ~500
bytes or so of instruction space for now (and more in the future).

This has the negative side effect of making tests a little slower to
run due to the quantity of macros used in generating all of the test
cases.

This work extends the previous Zbb bit manipulation instruction set we
supported to include the rest of the `b` family, all of which are
supported by our VeeR CPU.

We also add missing tests for the Zbb instruction set.

We added support for the disassembler as well, including for RV64 (even
though the emulator is only RV32).
@swenson
Copy link
Collaborator Author

swenson commented Nov 27, 2024

Thanks!

@swenson swenson merged commit ea0af94 into main Nov 27, 2024
1 check passed
@swenson swenson deleted the bit-manip branch November 27, 2024 23:22
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.

2 participants