Skip to content

How to use RISCV RVV in Gem5? #523

Closed Answered by hnpl
love-lilly asked this question in Q&A
Nov 2, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi there, OS support and compiler support for RVV are rather new so unfortunately, there are not many tutorials that I can refer to. Though, here are roughly the steps needed to be done to use RVV with gem5.

Here are a few pointers on how to compiling RISC-V binaries with RVV instructions,

  • I saw some document in gcc 13+ saying that it supports code generation with RVV instructions using RISC-V vector intrinsics. I assume that if you're using RISC-V vector intrinsics, you can use gcc-13 cross compiler to compile the binary. However, I've never been able to use gcc-13 for auto-vectorization, so I use llvm + gcc instead, which is similar to this. So, if you'd like to use llvm+gcc setup, you…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AlutionXian
Comment options

@hnpl
Comment options

Answer selected by BobbyRBruce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants