Home GnuPG

sha1-avx: use vmovdqa instead of movdqa

Description

sha1-avx: use vmovdqa instead of movdqa

* cipher/sha1-avx-amd64.S: Replace 'movdqa' with 'vmovdqa'.
* cipher/sha1-avx-bmi2-amd64.S: Replace 'movdqa' with 'vmovdqa'.

Replace SSE instruction 'movdqa' with AVX instruction 'vmovdqa' as
mixing SSE and AVX instructions can lead to bad performance.

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 19 2019, 9:02 PM
Parents
rC7abf65da84c7: doc/gcrypt.texi: update HW feature list
Branches
Unknown
Tags
Unknown