[clang] [llvm] [RISCV] Add Smrnmi extension (PR #111668)
    Pengcheng Wang via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct  9 21:07:23 PDT 2024
    
    
  
================
@@ -276,6 +276,14 @@ foreach i = 0...15 in {
 foreach i = 0...63 in
   def : SysReg<"pmpaddr"#i, !add(0x3B0, i)>;
 
+//===----------------------------------------------------------------------===//
+// Machine Non-Maskable Interrupt Handling
+//===----------------------------------------------------------------------===//
+def:SysReg<"mnscratch",0x740>;
----------------
wangpc-pp wrote:
Yes! I forgot it.
https://github.com/llvm/llvm-project/pull/111668
    
    
More information about the llvm-commits
mailing list