[clang] [llvm] Add Smrnmi extension (PR #111668)

Pengcheng Wang via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 20:33:38 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:

Add spaces around `:`.

https://github.com/llvm/llvm-project/pull/111668


More information about the cfe-commits mailing list