diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-21 14:37:55 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-21 14:37:55 -0400 |
commit | 444d1f1a3bdb2072e01683d838748f988dcbdfbb (patch) | |
tree | 0f550d2e1c1e2bfb800c10452ff0bcb8b6a46858 /sosemanuk.cpp | |
parent | 5e8b114e58570ca13f29a119a0302fab26b28055 (diff) | |
download | cryptopp-git-444d1f1a3bdb2072e01683d838748f988dcbdfbb.tar.gz |
Cut-in to utilize GNU_ATT_SYNTAX and GNU_INTEL_SYNTAX macros. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916)
Diffstat (limited to 'sosemanuk.cpp')
-rw-r--r-- | sosemanuk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sosemanuk.cpp b/sosemanuk.cpp index 0cc798f8..918c5d48 100644 --- a/sosemanuk.cpp +++ b/sosemanuk.cpp @@ -355,7 +355,7 @@ void SosemanukPolicy::OperateKeystream(KeystreamOperation operation, byte *outpu #endif __asm__ __volatile__ ( - ".intel_syntax noprefix;" + GNU_INTEL_SYNTAX AS_PUSH_IF86( bx) #else word32 *state = m_state; @@ -595,7 +595,7 @@ void SosemanukPolicy::OperateKeystream(KeystreamOperation operation, byte *outpu #ifdef __GNUC__ AS_POP_IF86( bx) - ".att_syntax prefix;" + GNU_ATT_SYNTAX : : "a" (m_state.m_ptr), "c" (iterationCount), "S" (s_sosemanukMulTables), "D" (output), "d" (input) #if CRYPTOPP_BOOL_X64 |