[gnutls-devel] GnuTLS | accelerated: clear AVX bits if it cannot be queried through XSAVE (!1631)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Aug 16 12:46:58 CEST 2022



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1631 was reviewed by Alexander Sosedkin

--
  <!-- Get preloaded note discussion-->
  
Alexander Sosedkin started a new discussion on lib/accelerated/x86/x86-common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1631#note_1065959622

>  
> -	if ((ecx & OSXSAVE_MASK) != OSXSAVE_MASK)
> +	if ((ecx & bit_OSXSAVE) != bit_OSXSAVE)

What's the reason for the change? I don't get what's the benefit of not checking for MOVBE.

--
  <!-- Get preloaded note discussion-->
  
Alexander Sosedkin started a new discussion on lib/accelerated/x86/x86-common.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1631#note_1065959628

>  {
> -	if (check_4th_gen_intel_features(_gnutls_x86_cpuid_s[1]) == 0)
> -		return 0;

What's the reason for the change?


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1631
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/20220816/a8ed8c21/attachment-0001.html>


More information about the Gnutls-devel mailing list