msvcrt: Don't set SSE control word in _except1.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2022-01-31 21:36:26 +01:00 committed by Alexandre Julliard
parent f12bcfd2ab
commit e617fe0bda
1 changed files with 1 additions and 1 deletions

View File

@ -10365,7 +10365,7 @@ double CDECL _except1(DWORD fpe, _FP_OPERATION_CODE op, double arg, double res,
case 0x300: fpword |= _PC_64; break;
}
if (cw & 0x1000) fpword |= _IC_AFFINE;
_control87(fpword, 0xffffffff);
_setfp(&fpword, _MCW_EM | _MCW_RC | _MCW_PC | _MCW_IC, NULL, 0);
return res;
}