[PATCH] D116645: [RISCV][llvm] Update CSRs

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 03:52:18 PST 2022


jrtc27 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVSystemOperands.td:176
-def : SysReg<"sedeleg", 0x102>;
-def : SysReg<"sideleg", 0x103>;
 def : SysReg<"sie", 0x104>;
----------------
You've got rid of the S-mode N extension CSRs but not the U-mode ones. I don't know if we should be removing these or not; I do know of a soft-core that actually implements it.


================
Comment at: llvm/lib/Target/RISCV/RISCVSystemOperands.td:180
+//===-------------------------------------------------------------------------//
+// Supervisor Trap Setup
+//===-------------------------------------------------------------------------//
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116645



More information about the llvm-commits mailing list