[clang] [llvm] [RISCV] Add processor definition for SpacemiT-X60 (PR #94564)
Mark Zhuang via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 7 09:39:45 PDT 2024
================
@@ -381,3 +381,20 @@ def XIANGSHAN_NANHU : RISCVProcessorModel<"xiangshan-nanhu",
TuneZExtHFusion,
TuneZExtWFusion,
TuneShiftedZExtWFusion]>;
+
+def SPACEMIT_X60 : RISCVProcessorModel<"spacemit-x60",
+ NoSchedModel,
+ !listconcat(RVA22S64Features,
+ [FeatureStdExtV,
+ FeatureStdExtSvnapot,
+ FeatureStdExtZbc,
+ FeatureStdExtZbkc,
+ FeatureStdExtZfh,
+ FeatureStdExtZicond,
----------------
zqb-all wrote:
Thanks for your review, it really is more reliable to add support based on document. The supported extensions are listed in 2.1.2 of this [document](https://developer.spacemit.com/#/documentation?token=BWbGwbx7liGW21kq9lucSA6Vnpb), including zicond. If you have any questions about other extensions, please let me know so that I can confirm and update the document. Finally, we can review this patch based on the document.
https://github.com/llvm/llvm-project/pull/94564
More information about the cfe-commits
mailing list