[clang] [llvm] [RISCV] Add support for Smepmp 1.0 (PR #78489)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 16:42:10 PST 2024


================
@@ -722,6 +722,11 @@ def FeatureStdExtSsaia
                        "'Ssaia' (Advanced Interrupt Architecture Supervisor "
                        "Level)", []>;
 
+def FeatureStdExtSmepmp
+    : SubtargetFeature<"smepmp", "HasStdExtSmepmp", "true",
+                       "'Smepmp' (PMP Enhancements for memory access and "
----------------
jrtc27 wrote:

This seems pretty clunky, what's wrong with just "Enhanced PMP" / "Enhanced Physical Memory Protection"? That's what it stands for after all...

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


More information about the cfe-commits mailing list