summaryrefslogtreecommitdiff
path: root/panama.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2010-08-08 23:02:36 +0000
committerweidai <weidai11@users.noreply.github.com>2010-08-08 23:02:36 +0000
commit045d804f9b6ed6a451af7dc8110e9911bc89e1ea (patch)
tree44816966e66c99358ac73574f00241d03e5bfd0b /panama.cpp
parent9d42a6f6dee5b8f0784145ea7e596a517555dbfe (diff)
downloadcryptopp-git-045d804f9b6ed6a451af7dc8110e9911bc89e1ea.tar.gz
fix compile with GCC 4.4 and -march=i386
fix minor documentation issues fix compile w/o GAS 2.19 or later
Diffstat (limited to 'panama.cpp')
-rw-r--r--panama.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/panama.cpp b/panama.cpp
index 06ef25aa..09b1708f 100644
--- a/panama.cpp
+++ b/panama.cpp
@@ -40,8 +40,8 @@ void Panama_SSE2_Pull(size_t count, word32 *state, word32 *z, const word32 *y);
#pragma warning(disable: 4731) // frame pointer register 'ebp' modified by inline assembly code
void CRYPTOPP_NOINLINE Panama_SSE2_Pull(size_t count, word32 *state, word32 *z, const word32 *y)
{
-#ifdef __GNUC__
- __asm__ __volatile__
+#ifdef CRYPTOPP_GNU_STYLE_INLINE_ASSEMBLY
+ asm __volatile__
(
".intel_syntax noprefix;"
AS_PUSH_IF86( bx)
@@ -285,7 +285,7 @@ void CRYPTOPP_NOINLINE Panama_SSE2_Pull(size_t count, word32 *state, word32 *z,
#endif
ASL(5)
-#ifdef __GNUC__
+#ifdef CRYPTOPP_GNU_STYLE_INLINE_ASSEMBLY
AS_POP_IF86( bx)
".att_syntax prefix;"
: