mbox series

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

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

Message

Feifei Wang Aug. 19, 2024, 6:57 a.m. UTC
This patch add a new architecture type arch_kind_hygon to
spilt Hygon branch from AMD.

Furthermore, the third patch uses 'Avoid_Non_Temporal_Memset'
flag to enable non-temporal memset and improve memset performance
in hygon processors.

v2:
 - Change the non-temporal memset flag according to the following
   patch:
   https://sourceware.org/git/?p=glibc.git;a=commit;h=b93dddfaf440aa12f45d7c356f6ffe9f27d35577

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         | 28 +++++++++++---
 sysdeps/x86/dl-cacheinfo.h         | 62 +++++++++++++++++++++++++++++-
 sysdeps/x86/include/cpu-features.h |  1 +
 3 files changed, 85 insertions(+), 6 deletions(-)

Comments

H.J. Lu Aug. 26, 2024, 5:40 p.m. UTC | #1
On Sun, Aug 18, 2024 at 11:58 PM Feifei Wang <wangfeifei@hygon.cn> wrote:
>
> This patch add a new architecture type arch_kind_hygon to
> spilt Hygon branch from AMD.
>
> Furthermore, the third patch uses 'Avoid_Non_Temporal_Memset'
> flag to enable non-temporal memset and improve memset performance
> in hygon processors.
>
> v2:
>  - Change the non-temporal memset flag according to the following
>    patch:
>    https://sourceware.org/git/?p=glibc.git;a=commit;h=b93dddfaf440aa12f45d7c356f6ffe9f27d35577
>
> 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         | 28 +++++++++++---
>  sysdeps/x86/dl-cacheinfo.h         | 62 +++++++++++++++++++++++++++++-
>  sysdeps/x86/include/cpu-features.h |  1 +
>  3 files changed, 85 insertions(+), 6 deletions(-)
>
> --
> 2.43.0
>

I pushed them for you.

Thanks.
Feifei Wang Aug. 27, 2024, 2 a.m. UTC | #2
> -----邮件原件-----
> 发件人: H.J. Lu <hjl.tools@gmail.com>
> 发送时间: 2024年8月27日 1:41
> 收件人: Feifei Wang <wangfeifei@hygon.cn>
> 抄送: libc-alpha@sourceware.org; carlos@redhat.com; fw@deneb.enyo.de;
> goldstein.w.n@gmail.com; adhemerval.zanella@linaro.org; Jing Li
> <lijing@hygon.cn>
> 主题: Re: [v2 0/3] x86: Add support for Hygon processors
> 
> On Sun, Aug 18, 2024 at 11:58 PM Feifei Wang <wangfeifei@hygon.cn> wrote:
> >
> > This patch add a new architecture type arch_kind_hygon to spilt Hygon
> > branch from AMD.
> >
> > Furthermore, the third patch uses 'Avoid_Non_Temporal_Memset'
> > flag to enable non-temporal memset and improve memset performance in
> > hygon processors.
> >
> > v2:
> >  - Change the non-temporal memset flag according to the following
> >    patch:
> >
> > https://sourceware.org/git/?p=glibc.git;a=commit;h=b93dddfaf440aa12f45
> > d7c356f6ffe9f27d35577
> >
> > 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         | 28 +++++++++++---
> >  sysdeps/x86/dl-cacheinfo.h         | 62
> +++++++++++++++++++++++++++++-
> >  sysdeps/x86/include/cpu-features.h |  1 +
> >  3 files changed, 85 insertions(+), 6 deletions(-)
> >
> > --
> > 2.43.0
> >
> 
> I pushed them for you.


That's great. Thanks!
> 
> Thanks.
> 
> --
> H.J.