summaryrefslogtreecommitdiff
path: root/sha.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-12-25 08:00:05 -0500
committerJeffrey Walton <noloader@gmail.com>2015-12-25 08:00:05 -0500
commit0e3ee98ff693f03ca448273a0d6bdfaef7a80e27 (patch)
treeb9627ceb698c0fbe71424877f1d21c1e6e1271a8 /sha.cpp
parent6e8d8c4ff9232efa76ac948980b80410960b238d (diff)
downloadcryptopp-git-0e3ee98ff693f03ca448273a0d6bdfaef7a80e27.tar.gz
Fixed Clang 3.4 compiler error on Linux
Diffstat (limited to 'sha.cpp')
-rw-r--r--sha.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sha.cpp b/sha.cpp
index 78ba88f5..bdd87df7 100644
--- a/sha.cpp
+++ b/sha.cpp
@@ -371,7 +371,9 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32
ROUND(14, 1, eax, ecx, edi, edx)
ROUND(15, 1, ecx, eax, edx, edi)
AS2( cmp WORD_REG(si), K_END)
+ ATT_NOPREFIX
ASJ( jb, 1, b)
+ INTEL_NOPREFIX
AS2( mov WORD_REG(dx), DATA_SAVE)
AS2( add WORD_REG(dx), 64)
@@ -390,7 +392,9 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32
AS2( movdqa [AS_REG_7+1*16], xmm1)
AS2( movdqa [AS_REG_7+0*16], xmm0)
AS2( cmp WORD_REG(dx), DATA_END)
+ ATT_NOPREFIX
ASJ( jb, 0, b)
+ INTEL_NOPREFIX
#endif
#if CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32