[PATCH 0/1] MR3634: msvcr70: Don't set SSE2 control register in _control87.
The patch restores old function behavior in msvcr70 and msvcr71. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55414 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3634
From: Piotr Caban <piotr(a)codeweavers.com> The patch restores old function behavior in msvcr70 and msvcr71. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55414 --- dlls/msvcrt/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c index a4d53934c04..a62705bc8f4 100644 --- a/dlls/msvcrt/math.c +++ b/dlls/msvcrt/math.c @@ -1195,7 +1195,7 @@ int CDECL __control87_2( unsigned int newval, unsigned int mask, unsigned int CDECL _control87(unsigned int newval, unsigned int mask) { unsigned int flags = 0; -#ifdef __i386__ +#if defined(__i386__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 80) unsigned int sse2_cw; __control87_2( newval, mask, &flags, &sse2_cw ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3634
participants (2)
-
Piotr Caban -
Piotr Caban (@piotr)