sha1-avx: use vmovdqa instead of movdqa
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Tue, 19 Mar 2019 20:02:28 +0000 (22:02 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 23 Mar 2019 18:41:57 +0000 (20:41 +0200)
commitf8d14df1abd645c3279b14da43b4a7983d87f89f
tree2a439cf97790715505b3d41e964adf3054a33d6b
parent7abf65da84c7106250a5ed2de78b05610cf251f4
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>
cipher/sha1-avx-amd64.S
cipher/sha1-avx-bmi2-amd64.S