msvcrt: Don't set _EM_AMBIGOUS flag in _control87 when sse2 is not supported.
Fixes compilation warning. Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
929face084
commit
564ede5d32
|
@ -5677,8 +5677,11 @@ unsigned int CDECL _control87(unsigned int newval, unsigned int mask)
|
|||
|
||||
__control87_2( newval, mask, &flags, &sse2_cw );
|
||||
|
||||
if (sse2_supported)
|
||||
{
|
||||
if ((flags ^ sse2_cw) & (_MCW_EM | _MCW_RC)) flags |= _EM_AMBIGUOUS;
|
||||
flags |= sse2_cw;
|
||||
}
|
||||
#else
|
||||
flags = newval;
|
||||
_setfp(&flags, mask, NULL, 0);
|
||||
|
|
Loading…
Reference in New Issue