================ @@ -486,6 +486,24 @@ def : SysReg<"mctrctl", 0x34e>; // Vendor CSRs //===----------------------------------------------- +// XSfmclic +let FeaturesRequired = [{ {RISCV::FeatureVendorXSfmclic} }] in { +def : SysReg<"mtvt", 0x307>; +def : SysReg<"mnxti", 0x345>; +def : SysReg<"mintstatus", 0x346>; +def : SysReg<"mscratchcsw", 0x348>; +def : SysReg<"mscratchcswl", 0x349>; +} + +// XSfsclic +let FeaturesRequired = [{ {RISCV::FeatureVendorXSfsclic} }] in { +def : SysReg<"stvt", 0x107>; +def : SysReg<"snxti", 0x145>; +def : SysReg<"sintstatus", 0x146>; +def : SysReg<"sscratchcsw", 0x148>; +def : SysReg<"sscratchcswl", 0x149>; +} ---------------- kito-cheng wrote:
I am little hesitate here, we should have sf. prefix here in theory.... https://github.com/llvm/llvm-project/pull/132481 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits