From 1bbadb482f4093ea119b11083e2fd03e4ab191da Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 2 Aug 2007 01:11:25 +0000 Subject: [PATCH] fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack --- trunk/c5/integer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/c5/integer.cpp b/trunk/c5/integer.cpp index 51da878a..d72bf0d4 100644 --- a/trunk/c5/integer.cpp +++ b/trunk/c5/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;