fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack
parent
ce494f5bb4
commit
bbfb7ff438
|
|
@ -1949,11 +1949,13 @@ static void SetFunctionPointers()
|
||||||
#if CRYPTOPP_INTEGER_SSE2
|
#if CRYPTOPP_INTEGER_SSE2
|
||||||
if (HasSSE2())
|
if (HasSSE2())
|
||||||
{
|
{
|
||||||
|
#if _MSC_VER != 1200 || defined(NDEBUG)
|
||||||
if (IsP4())
|
if (IsP4())
|
||||||
{
|
{
|
||||||
s_pAdd = &SSE2_Add;
|
s_pAdd = &SSE2_Add;
|
||||||
s_pSub = &SSE2_Sub;
|
s_pSub = &SSE2_Sub;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
s_recursionLimit = 32;
|
s_recursionLimit = 32;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue