summaryrefslogtreecommitdiff
path: root/tiger.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 /tiger.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 'tiger.cpp')
-rw-r--r--tiger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tiger.cpp b/tiger.cpp
index c6c05cae..185816e9 100644
--- a/tiger.cpp
+++ b/tiger.cpp
@@ -38,7 +38,7 @@ void Tiger::Transform (word64 *digest, const word64 *X)
#ifdef __GNUC__
__asm__ __volatile__
(
- ".intel_syntax noprefix;"
+ GNU_INTEL_SYNTAX
AS1( push ebx)
#else
#if _MSC_VER < 1300
@@ -194,7 +194,7 @@ void Tiger::Transform (word64 *digest, const word64 *X)
AS1( emms)
#ifdef __GNUC__
AS1( pop ebx)
- ".att_syntax prefix;"
+ GNU_ATT_SYNTAX
:
: "a" (digest), "S" (X), "d" (table)
: "%ecx", "%edi", "memory", "cc"