summaryrefslogtreecommitdiff
path: root/sha.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-02-01 01:12:44 -0500
committerJeffrey Walton <noloader@gmail.com>2016-02-01 01:12:44 -0500
commitdb42a4ac2fd75b74eef77483d0ff465a1e6e5e4a (patch)
tree8932683bcab3b16df9cff9733c43699a3bbe8361 /sha.cpp
parent062bcdfbcae5e693045fc7262df36c736333fb17 (diff)
downloadcryptopp-git-db42a4ac2fd75b74eef77483d0ff465a1e6e5e4a.tar.gz
Fixed compile under Clang x86
Diffstat (limited to 'sha.cpp')
-rw-r--r--sha.cpp2
1 files changed, 2 insertions, 0 deletions
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