summaryrefslogtreecommitdiff
path: root/panama.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2010-08-08 23:02:36 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2010-08-08 23:02:36 +0000
commit5ac246132c75c6d08b860424d463b52bb2ea02d6 (patch)
tree44816966e66c99358ac73574f00241d03e5bfd0b /panama.cpp
parent0a38de22b46642450902b2d1bb67829ac9c2a275 (diff)
downloadcryptopp-5ac246132c75c6d08b860424d463b52bb2ea02d6.tar.gz
fix compile with GCC 4.4 and -march=i386
fix minor documentation issues fix compile w/o GAS 2.19 or later git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@519 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 06ef25a..09b1708 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;"
: