[clang] [compiler-rt] [llvm] [X86] Support -march=diamondrapids (PR #113881)

Freddy Ye via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 14 21:57:03 PST 2024


================
@@ -600,6 +601,19 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
       break;
     }
     break;
+  case 19:
+    switch (Model) {
+    // Diamondrapids:
+    case 0x01:
+      CPU = "diamondrapids";
+      *Type = INTEL_COREI7;
+      *Subtype = INTEL_COREI7_DIAMONDRAPIDS;
+      break;
+
+    default: // Unknown family 0x13 CPU.
----------------
FreddyLeaf wrote:

[52e63a0](https://github.com/llvm/llvm-project/pull/113881/commits/52e63a0f4b48ad106471343f2f48976bd9b84661)

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


More information about the cfe-commits mailing list