mbox series

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

Message ID 1723445305-99403-1-git-send-email-wangfeifei@hygon.cn
Headers show
Series x86: Add support for Hygon processors | expand

Message

Feifei Wang Aug. 12, 2024, 6:48 a.m. UTC
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(-)