[PATCH] D153499: [RISCV] Add support for custom CSRs for Sifive S76.

garvit gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 14:08:29 PDT 2023


garvitgupta08 added a comment.

In D153499#4451214 <https://reviews.llvm.org/D153499#4451214>, @craig.topper wrote:

> Will this prevent supporting the Smrnmi which uses these same CSR names. See most recent development copy of the privilege specificvation https://github.com/riscv/riscv-isa-manual/releases/download/riscv-isa-release-1239329-2023-05-23/riscv-privileged.pdf

To add support for these CSRs, only one line change is needed in RISCVAsmParser. I have  included that change in the latest patchset so that if we have to add those CSRs, we can easily do so without modifying the Parsing logic.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153499/new/

https://reviews.llvm.org/D153499



More information about the llvm-commits mailing list