about summary refs log tree commit diff
path: root/sysdeps/x86/cpu-features.h
diff options
context:
space:
mode:
authormayshao <mayshao-oc@zhaoxin.com>2020-04-24 12:55:38 +0800
committerH.J. Lu <hjl.tools@gmail.com>2020-04-30 06:36:48 -0700
commit32ac0b988466785d6e3cc1dffc364bb26fc63193 (patch)
tree33737028a67b382cbb0675057cdc498e892e7832 /sysdeps/x86/cpu-features.h
parent68622c00ebb470f7cd11dc5ba18c7fa185e20116 (diff)
downloadglibc-32ac0b988466785d6e3cc1dffc364bb26fc63193.tar.gz
glibc-32ac0b988466785d6e3cc1dffc364bb26fc63193.tar.xz
glibc-32ac0b988466785d6e3cc1dffc364bb26fc63193.zip
x86: Add CPU Vendor ID detection support for Zhaoxin processors
To recognize Zhaoxin CPU Vendor ID, add a new architecture type
arch_kind_zhaoxin for Vendor Zhaoxin detection.
Diffstat (limited to 'sysdeps/x86/cpu-features.h')
-rw-r--r--sysdeps/x86/cpu-features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-features.h b/sysdeps/x86/cpu-features.h
index aea83e6e31..f05d5ce158 100644
--- a/sysdeps/x86/cpu-features.h
+++ b/sysdeps/x86/cpu-features.h
@@ -53,6 +53,7 @@ enum cpu_features_kind
   arch_kind_unknown = 0,
   arch_kind_intel,
   arch_kind_amd,
+  arch_kind_zhaoxin,
   arch_kind_other
 };