[clang] [llvm] [RISCV] Add processor definition for SiFive P870 (PR #137725)

Min-Yih Hsu via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 29 12:17:02 PDT 2025


================
@@ -365,6 +365,32 @@ def SIFIVE_P670 : RISCVProcessorModel<"sifive-p670", SiFiveP600Model,
                                        TuneVXRMPipelineFlush,
                                        TunePostRAScheduler]>;
 
+def SIFIVE_P870 : RISCVProcessorModel<"sifive-p870", NoSchedModel,
+                                      !listconcat(RVA23U64Features,
+                                      [FeatureStdExtZama16b,
+                                       FeatureStdExtZfh,
+                                       FeatureStdExtZifencei,
+                                       FeatureStdExtZihintntl,
----------------
mshockwave wrote:

I also just sent a patch to teach TableGen to throw a warning in the presence of duplicate features / tune features: #137864 

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


More information about the cfe-commits mailing list