[clang] [llvm] [RISCV] Add processor definitions for XuanTie C910V2 and C920V2 (PR #174056)

Wang Yaduo via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 11 23:22:09 PST 2026


================
@@ -881,3 +881,106 @@ def ANDES_AX45MPV : RISCVProcessorModel<"andes-ax45mpv",
                                          FeatureStdExtV,
                                          FeatureVendorXAndesPerf],
                                         Andes45TuneFeatures>;
+
+def XUANTIE_C910V2 : RISCVProcessorModel<"xt-c910v2",
+                                         GenericOOOModel,
+                                         [Feature64Bit,
+                                          FeatureStdExtI,
+                                          FeatureStdExtM,
+                                          FeatureStdExtA,
+                                          FeatureStdExtF,
+                                          FeatureStdExtD,
+                                          FeatureStdExtC,
+                                          FeatureStdExtZicbom,
----------------
MouseSplinter wrote:

Do you mean use `!listconcat(base_supported_profile, [extra_features...])` like `SIFIVE_P870`?  But the `FeatureStdExtZiccif` is of `RVA20U64Features`, which means the cpu doesn't support rva20.

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


More information about the llvm-commits mailing list