From db42a4ac2fd75b74eef77483d0ff465a1e6e5e4a Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 1 Feb 2016 01:12:44 -0500 Subject: [PATCH] Fixed compile under Clang x86 --- sha.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sha.cpp b/sha.cpp index bdd87df7..c5a021e1 100644 --- a/sha.cpp +++ b/sha.cpp @@ -310,7 +310,9 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32 AS2( mov esi, ecx) AS2( lea edi, A(0)) AS2( mov ecx, 8) +ATT_NOPREFIX AS1( rep movsd) +INTEL_NOPREFIX AS2( mov esi, K_END) ASJ( jmp, 3, f) #endif