[PATCH] Fix use of AVX instruction in SHA1/SSSE3 assembly

Jussi Kivilinna jussi.kivilinna at iki.fi
Thu Jul 18 15:44:25 CEST 2019


* cipher/sha1-ssse3-amd64.S: Replace 'vmovdqa' with 'movdqa'
instruction.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 0 files changed

diff --git a/cipher/sha1-ssse3-amd64.S b/cipher/sha1-ssse3-amd64.S
index 7e32b0f4b..db62928ad 100644
--- a/cipher/sha1-ssse3-amd64.S
+++ b/cipher/sha1-ssse3-amd64.S
@@ -401,7 +401,7 @@ _gcry_sha1_transform_amd64_ssse3:
   R( b, c, d, e, a, F4, 79 );
 
   /* 16*4/16-1 = 3 */
-  vmovdqa Wtmp0, (3*16)(%rsp);
+  movdqa Wtmp0, (3*16)(%rsp);
 
   /* Update the chaining variables. */
   addl state_h3(RSTATE), d;




More information about the Gcrypt-devel mailing list