Skip to content

Basic support for RISCV vector instructions#140

Open
JakobSchaeffeler wants to merge 1 commit intobeehive-lab:masterfrom
JakobSchaeffeler:master
Open

Basic support for RISCV vector instructions#140
JakobSchaeffeler wants to merge 1 commit intobeehive-lab:masterfrom
JakobSchaeffeler:master

Conversation

@JakobSchaeffeler
Copy link
Copy Markdown

This PR adds basic support for RISC-V Vector instructions to the existing RISC-V backend.

Since there are no RISC-V Vector instructions that alter the control flow of a program this is quite straightforward. The only thing adapted in this PR is the scanner and the generator and the scanner to be able to handle vector instructions as regular non-control-flow instructions.
Right now the recognition for vector instructions is not very fine grained, but I could still change this if you think it is needed.

Additionally, to test this I added a plugin that counts the number of vector instructions executed in a program.

@JakobSchaeffeler
Copy link
Copy Markdown
Author

Do you plan to merge this?
If you want I can also push more complex plugins that show that this is working.

@jkressel
Copy link
Copy Markdown
Collaborator

Hi @JakobSchaeffeler, thanks for submitting this and apologies for the delay, we plan to review asap.

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