[clang] [llvm] [RISCV] Add -march support for many of the S extensions mentioned in the profile specification. (PR #79399)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 11:07:52 PST 2024
================
@@ -764,6 +771,62 @@ def FeatureStdExtSmepmp
: SubtargetFeature<"smepmp", "HasStdExtSmepmp", "true",
"'Smepmp' (Enhanced Physical Memory Protection)", []>;
+def FeatureStdExtSsccptr
+ : SubtargetFeature<"ssccptr", "HasStdExtSsccptr", "true",
+ "'Ssccptr' (Main memory supports page table reads)", []>;
+
+def FeatureStdExtShcounterenvw
+ : SubtargetFeature<"shcounterenw", "HasStdExtShcounterenw", "true",
+ "'Shcounterenw' (Support writeable enables for any supproted counter)", []>;
+def FeatureStdExtSscounterenvw
+ : SubtargetFeature<"sscounterenw", "HasStdExtSscounterenw", "true",
+ "'Sscounterenw' (Support writeable enables for any supproted counter)", []>;
----------------
preames wrote:
I honestly neither understand this, nor particular care. I'm okay with any reasonable wording you want to use here - up to and including the previous identical wording for the two with the minor typo fix. If we find better wording later, we can just update it then.
https://github.com/llvm/llvm-project/pull/79399
More information about the llvm-commits
mailing list