Fix use of AVX instructions in Chaha20 SSSE3 implementation
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 22 Jan 2018 20:17:50 +0000 (22:17 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 22 Jan 2018 20:17:50 +0000 (22:17 +0200)
* cipher/chacha20-amd64-ssse3.S: Replace two 'vmovdqa' instructions
with 'movdqa'.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/chacha20-amd64-ssse3.S

index 7ad1c0a..f237228 100644 (file)
@@ -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;