[PATCH] D78874: [clang] Add vendor identity for Hygon Dhyana processor

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 30 18:35:32 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGaf28e02e74fb: [clang] Add vendor identity for Hygon Dhyana processor to cpuid.h (authored by craig.topper).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78874/new/

https://reviews.llvm.org/D78874

Files:
  clang/lib/Headers/cpuid.h


Index: clang/lib/Headers/cpuid.h
===================================================================
--- clang/lib/Headers/cpuid.h
+++ clang/lib/Headers/cpuid.h
@@ -24,6 +24,10 @@
 #define signature_CYRIX_ebx 0x69727943
 #define signature_CYRIX_edx 0x736e4978
 #define signature_CYRIX_ecx 0x64616574
+/* HYGON:   "HygonGenuine" */
+#define signature_HYGON_ebx 0x6f677948
+#define signature_HYGON_edx 0x6e65476e
+#define signature_HYGON_ecx 0x656e6975
 /* INTEL:   "GenuineIntel" */
 #define signature_INTEL_ebx 0x756e6547
 #define signature_INTEL_edx 0x49656e69


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78874.261418.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200501/c890082c/attachment.bin>


More information about the cfe-commits mailing list