diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-08-08 23:02:36 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-08-08 23:02:36 +0000 |
commit | 5ac246132c75c6d08b860424d463b52bb2ea02d6 (patch) | |
tree | 44816966e66c99358ac73574f00241d03e5bfd0b /panama.cpp | |
parent | 0a38de22b46642450902b2d1bb67829ac9c2a275 (diff) | |
download | cryptopp-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.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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;" : |