[PATCH 2/3] Add detection for HW feature "intel-avx512"

Jussi Kivilinna jussi.kivilinna at iki.fi
Mon Mar 7 17:59:39 CET 2022


Hello,

On 7.3.2022 12.38, Jakub Jelen via Gcrypt-devel wrote:
> On 3/7/22 11:04, Jakub Jelen wrote:
>> On 3/6/22 18:19, Jussi Kivilinna wrote:
>>> [...]
>>> diff --git a/src/hwfeatures.c b/src/hwfeatures.c
>>> index 7060d995..8e92cbdd 100644
>>> --- a/src/hwfeatures.c
>>> +++ b/src/hwfeatures.c
>>> @@ -62,6 +62,7 @@ static struct
>>>       { HWF_INTEL_RDTSC,         "intel-rdtsc" },
>>>       { HWF_INTEL_SHAEXT,        "intel-shaext" },
>>>       { HWF_INTEL_VAES_VPCLMUL,  "intel-vaes-vpclmul" },
>>> +    { HWF_INTEL_AVX512,        "intel-avx512" },
>>>   #elif defined(HAVE_CPU_ARCH_ARM)
>>>       { HWF_ARM_NEON,            "arm-neon" },
>>>       { HWF_ARM_AES,             "arm-aes" },
>>
>> Hi,
>> can you make sure to update also the doc/gcrypt.texi with the new hwfeatures value so we do not have to add it retrospectively?
>>
>> https://gitlab.com/redhat-crypto/libgcrypt/libgcrypt-mirror/-/blob/master/doc/gcrypt.texi#L574
>>

Thanks for reminder. I'll add intel-avx512 to the HW features list.

-Jussi



More information about the Gcrypt-devel mailing list