From 9ee3a25d0d5120cad1e4e32ce3e93e37ffc3e621 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 24 Sep 2007 03:52:17 +0000 Subject: [PATCH] remove -msse2 since we don't use SSE2 intrinsics anymore --- panama.cpp | 2 +- salsa.cpp | 2 +- sosemanuk.cpp | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/panama.cpp b/panama.cpp index 2f0ef3a2..cc4511e1 100644 --- a/panama.cpp +++ b/panama.cpp @@ -293,7 +293,7 @@ void Panama_SSE2_Pull(size_t count, word32 *state, word32 *z, const word32 *y) : "%r8", "%r9", "r10", "%eax", "memory", "cc", "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7" #else : "c" (count), "d" (state), "S" (z), "D" (y) - : "%eax", "memory", "cc", "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7" + : "%eax", "memory", "cc" #endif ); #endif diff --git a/salsa.cpp b/salsa.cpp index 4681ec67..998d9f42 100755 --- a/salsa.cpp +++ b/salsa.cpp @@ -467,7 +467,7 @@ void Salsa20_Policy::OperateKeystream(KeystreamOperation operation, byte *output : "%eax", "%edx", "memory", "cc", "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7", "%xmm8", "%xmm9", "%xmm10", "%xmm11", "%xmm12", "%xmm13", "%xmm14", "%xmm15" #else : "m" (r), "a" (input), "c" (iterationCount), "S" (m_state.data()), "D" (output) - : "%edx", "memory", "cc", "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7" + : "%edx", "memory", "cc" #endif ); #endif diff --git a/sosemanuk.cpp b/sosemanuk.cpp index b8c0c6c0..e40cab86 100755 --- a/sosemanuk.cpp +++ b/sosemanuk.cpp @@ -597,8 +597,9 @@ void SosemanukPolicy::OperateKeystream(KeystreamOperation operation, byte *outpu : "a" (m_state.m_ptr), "c" (iterationCount), "S" (s_sosemanukMulTables), "D" (output), "d" (input) #if CRYPTOPP_BOOL_X64 , "r" (workspace) - #endif : "memory", "cc", "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7" + #endif + : "memory", "cc" ); #endif #ifdef CRYPTOPP_GENERATE_X64_MASM