Skip to content

RISC-V Vector Extension Support#351

Open
ninolomata wants to merge 1 commit intobao-project:mainfrom
ninolomata:feat/riscv-ext-v
Open

RISC-V Vector Extension Support#351
ninolomata wants to merge 1 commit intobao-project:mainfrom
ninolomata:feat/riscv-ext-v

Conversation

@ninolomata
Copy link
Copy Markdown
Member

Adds optional support for exposing the RISC-V vector extension to guests.

This change:

  • adds sstatus.VS field definitions
  • marks guest vector state as enabled during vCPU reset by setting VS=Dirty
    in both sstatus and vsstatus
  • adds a CPU_EXT_V platform configuration macro to control vector extension exposure.

Signed-off-by: Bruno Sa <bruno.vilaca.sa@gmail.com>
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