[clang] [llvm] [RISC-V] Add support for MIPS P8700 CPU (PR #117865)

Oren Benita Ben Simhon via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 15 07:58:33 PST 2024


================
@@ -78,6 +78,19 @@ def GENERIC_RV64 : RISCVProcessorModel<"generic-rv64",
 // to change to the appropriate rv32/rv64 version.
 def GENERIC : RISCVTuneProcessorModel<"generic", NoSchedModel>, GenericTuneInfo;
 
+def MIPS_P8700 : RISCVProcessorModel<"mips-p8700",
+                                     MIPSP8700Model,
+                                     [Feature64Bit,
+                                      FeatureStdExtI,
+                                      FeatureStdExtM,
+                                      FeatureStdExtA,
----------------
OrenBenSimhon wrote:

performance wise, will it be better to not select AMO instructions from the first place?

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


More information about the llvm-commits mailing list