summaryrefslogtreecommitdiff
path: root/gcm.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 /gcm.cpp
parent6e8d8c4ff9232efa76ac948980b80410960b238d (diff)
downloadcryptopp-git-0e3ee98ff693f03ca448273a0d6bdfaef7a80e27.tar.gz
Fixed Clang 3.4 compiler error on Linux
Diffstat (limited to 'gcm.cpp')
-rw-r--r--gcm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcm.cpp b/gcm.cpp
index dd28c25f..e74c7408 100644
--- a/gcm.cpp
+++ b/gcm.cpp
@@ -735,7 +735,9 @@ size_t GCM_Base::AuthenticateBlocks(const byte *data, size_t len)
AS2( add WORD_REG(cx), 16 )
AS2( sub WORD_REG(dx), 1 )
+ ATT_NOPREFIX
ASJ( jnz, 0, b )
+ INTEL_NOPREFIX
AS2( movdqa [WORD_REG(si)], xmm0 )
#if CRYPTOPP_BOOL_X32
@@ -820,7 +822,9 @@ size_t GCM_Base::AuthenticateBlocks(const byte *data, size_t len)
AS2( add WORD_REG(cx), 16 )
AS2( sub WORD_REG(dx), 1 )
+ ATT_NOPREFIX
ASJ( jnz, 1, b )
+ INTEL_NOPREFIX
AS2( movdqa [WORD_REG(si)], xmm0 )
#ifdef __GNUC__