[gnutls-devel] GnuTLS | x86:add detection of instruction set on Zhaoxin CPU (!1335)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Sep 23 13:36:05 CEST 2020

zzjianhui commented on a discussion on lib/accelerated/x86/x86-common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1335#note_417343982

>  #define INTEL_PCLMUL (1<<3)
>  #define INTEL_AVX (1<<4)
>  #define INTEL_SHA (1<<5)
> -#define VIA_PADLOCK (1<<20)
> -#define VIA_PADLOCK_PHE (1<<21)
> -#define VIA_PADLOCK_PHE_SHA512 (1<<22)
> +#define PADLOCK (1<<20)
> +#define PADLOCK_PHE (1<<21)
> +#define PADLOCK_PHE_SHA512 (1<<22)

This part of the code not only supports the old VIA CPU, but also supports the Zhaoxin CPU. But VIA CPU will not have new products, and Zhaoxin CPU will continue to upgrade and iterate. Currently this part of the code is maintained and upgraded by Zhaoxin. In order to prevent this part of the code from misunderstanding that it only supports VIA CPU, we delete the VIA prefix.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1335#note_417343982
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200923/1c66f55a/attachment.html>

More information about the Gnutls-devel mailing list