[PATCH] Fix use of AVX instructions in Chaha20 SSSE3 implementation
Jussi Kivilinna
jussi.kivilinna at iki.fi
Mon Jan 22 21:18:54 CET 2018
* cipher/chacha20-amd64-ssse3.S: Replace two 'vmovdqa' instructions
with 'movdqa'.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
cipher/chacha20-amd64-ssse3.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cipher/chacha20-amd64-ssse3.S b/cipher/chacha20-amd64-ssse3.S
index 7ad1c0ae3..f23722814 100644
--- a/cipher/chacha20-amd64-ssse3.S
+++ b/cipher/chacha20-amd64-ssse3.S
@@ -190,8 +190,8 @@ _gcry_chacha20_amd64_ssse3_blocks4:
mov $20, ROUND;
/* Construct counter vectors X12 and X13 */
- vmovdqa .Linc_counter RIP, X0;
- vmovdqa .Lunsigned_cmp RIP, X2;
+ movdqa .Linc_counter RIP, X0;
+ movdqa .Lunsigned_cmp RIP, X2;
pbroadcastd((12 * 4)(INPUT), X12);
pbroadcastd((13 * 4)(INPUT), X13);
paddd X0, X12;
More information about the Gcrypt-devel
mailing list