]> sourceware.org Git - glibc.git/commit
x86: Add cache information support for Zhaoxin processors
authormayshao-oc <mayshao-oc@zhaoxin.com>
Sun, 26 Apr 2020 05:48:27 +0000 (13:48 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 30 Apr 2020 13:45:27 +0000 (06:45 -0700)
commita98dc92dd1e278df4c501deb07985018bc2b06de
treeff1cd7d562a816e790c68b13dbcf5cc5ba48a6a5
parent32ac0b988466785d6e3cc1dffc364bb26fc63193
x86: Add cache information support for Zhaoxin processors

To obtain Zhaoxin CPU cache information, add a new function
handle_zhaoxin().

Add a new function get_common_cache_info() that extracts the code
in init_cacheinfo() to get the value of the variable shared, threads.

Add Zhaoxin branch in init_cacheinfo() for initializing variables,
such as __x86_shared_cache_size.
sysdeps/x86/cacheinfo.c
This page took 0.040077 seconds and 5 git commands to generate.