>>> But, I think the stitched AES-NI AES-GCM code requires AVX2, not just
>>> AVX.
>>
>> No, it doesn't. It requires exactly AVX+MOVBE.
>
> I see. I was confused because the code says:
>
> if ($avx>1) {{{
>
> I had been thinking the whole time that "$avx > 1" means that AVX2 is
>
Andy Polyakov wrote:
>> But, I think the stitched AES-NI AES-GCM code requires AVX2, not just
>> AVX.
>
> No, it doesn't. It requires exactly AVX+MOVBE.
I see. I was confused because the code says:
if ($avx>1) {{{
I had been thinking the whole time that "$avx > 1" means
Hi,
> I see that the stitched AES-NI AES-GCM code will be used if :
>
> gctx->ctr==aesni_ctr32_encrypt_blocks && \
> gctx->gcm.ghash==gcm_ghash_avx)
>
> In gcm128, I see that it decides to use gcm_ghash_avx if:
>
> /* AVX+MOVBE */
> if (((OPENSSL_ia32cap_P[1] >> 22) & 0x41) ==
Hi,
I see that the stitched AES-NI AES-GCM code will be used if :
gctx->ctr==aesni_ctr32_encrypt_blocks && \
gctx->gcm.ghash==gcm_ghash_avx)
In gcm128, I see that it decides to use gcm_ghash_avx if:
/* AVX+MOVBE */
if (((OPENSSL_ia32cap_P[1] >> 22) & 0x41) == 0x41) {
But, I