diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-08-02 01:11:25 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-08-02 01:11:25 +0000 |
commit | 326d87850c602038f5d475ade00854c6ed887073 (patch) | |
tree | 29688c561b831ce56afa08d77a6c78343123c5ea | |
parent | b6b19a9a38dcacf82416c4593eec94c86970644a (diff) | |
download | cryptopp-326d87850c602038f5d475ade00854c6ed887073.tar.gz |
fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@378 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/integer.cpp b/integer.cpp index 51da878..d72bf0d 100644 --- a/integer.cpp +++ b/integer.cpp @@ -1949,11 +1949,13 @@ static void SetFunctionPointers() #if CRYPTOPP_INTEGER_SSE2 if (HasSSE2()) { +#if _MSC_VER != 1200 || defined(NDEBUG) if (IsP4()) { s_pAdd = &SSE2_Add; s_pSub = &SSE2_Sub; } +#endif s_recursionLimit = 32; |