diff options
| author | weidai <weidai11@users.noreply.github.com> | 2010-08-08 23:02:36 +0000 |
|---|---|---|
| committer | weidai <weidai11@users.noreply.github.com> | 2010-08-08 23:02:36 +0000 |
| commit | 045d804f9b6ed6a451af7dc8110e9911bc89e1ea (patch) | |
| tree | 44816966e66c99358ac73574f00241d03e5bfd0b /panama.cpp | |
| parent | 9d42a6f6dee5b8f0784145ea7e596a517555dbfe (diff) | |
| download | cryptopp-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.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;" : |
