[RFC PATCH 0/3] x86: Add support for Hygon processors

Feifei Wang wangfeifei@hygon.cn
Mon Aug 12 06:48:22 GMT 2024


This patch add a new architecture type arch_kind_hygon to
spilt Hygon branch from AMD. 

Furthermore, the third patch uses new cpu-flag 'Prefer_Non_Temporal'
to access the non-temporal memset implementation for hygon processors
due to erms is disabled in Hygon. The patch is based on the following
new flag patch:
https://patchwork.sourceware.org/project/glibc/patch/20240811055619.2863839-1-goldstein.w.n@gmail.com/

Feifei Wang (3):
  x86: Add new architecture type for Hygon processors
  x86: Add cache information support for Hygon processors
  x86: Enable non-temporal memset for Hygon processors

 sysdeps/x86/cpu-features.c         | 25 +++++++++++--
 sysdeps/x86/dl-cacheinfo.h         | 60 ++++++++++++++++++++++++++++++
 sysdeps/x86/include/cpu-features.h |  1 +
 3 files changed, 83 insertions(+), 3 deletions(-)

-- 
2.43.0



More information about the Libc-alpha mailing list