[clang] [llvm] [RISCV] Add CSRs and an instruction for Smctr and Ssctr extensions. (PR #105148)
Yingwei Zheng via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 20 10:35:56 PDT 2024
================
@@ -1054,6 +1054,19 @@ def FeatureStdExtSupm
: RISCVExperimentalExtension<"supm", 1, 0,
"'Supm' (Indicates User-mode Pointer Masking)">;
+def FeatureStdExtSmctr
+ : RISCVExperimentalExtension<"smctr", 1, 0,
+ "'Smctr' (Control Transfer Records Machine Level)",
+ [FeatureStdExtSmcsrind]>;
----------------
dtcxzyw wrote:
> Smctr and Ssctr depend on both the implementation of S-mode and the Sscsrind extension.
https://github.com/llvm/llvm-project/pull/105148
More information about the cfe-commits
mailing list