summaryrefslogtreecommitdiff
path: root/whrlpool.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-21 14:37:55 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-21 14:37:55 -0400
commit444d1f1a3bdb2072e01683d838748f988dcbdfbb (patch)
tree0f550d2e1c1e2bfb800c10452ff0bcb8b6a46858 /whrlpool.cpp
parent5e8b114e58570ca13f29a119a0302fab26b28055 (diff)
downloadcryptopp-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 'whrlpool.cpp')
-rw-r--r--whrlpool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/whrlpool.cpp b/whrlpool.cpp
index 6de6747f..39830abb 100644
--- a/whrlpool.cpp
+++ b/whrlpool.cpp
@@ -401,7 +401,7 @@ void Whirlpool::Transform(word64 *digest, const word64 *block)
#endif
__asm__ __volatile__
(
- ".intel_syntax noprefix;"
+ GNU_INTEL_SYNTAX
AS_PUSH_IF86( bx)
AS2( mov AS_REG_6, WORD_REG(ax))
#else
@@ -569,7 +569,7 @@ void Whirlpool::Transform(word64 *digest, const word64 *block)
AS_POP_IF86( bx)
#endif
#ifdef __GNUC__
- ".att_syntax prefix;"
+ GNU_ATT_SYNTAX
:
: "a" (Whirlpool_C), "c" (digest), "d" (block)
#if CRYPTOPP_BOOL_X64