ucrtbase: Added stub for _get_FMA3_enable.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2020-02-11 13:06:21 +01:00 committed by Alexandre Julliard
parent a592c1ed08
commit 87f42c3ae7
3 changed files with 16 additions and 3 deletions

View File

@ -81,7 +81,7 @@
@ cdecl _fpclass(double) ucrtbase._fpclass
@ stub _fpclassf
@ cdecl -arch=i386 -ret64 _ftol() ucrtbase._ftol
@ stub _get_FMA3_enable
@ cdecl -arch=win64 _get_FMA3_enable() ucrtbase._get_FMA3_enable
@ cdecl _hypot(double double) ucrtbase._hypot
@ cdecl _hypotf(float float) ucrtbase._hypotf
@ cdecl _isnan(double) ucrtbase._isnan

View File

@ -117,7 +117,19 @@ int CDECL MSVCRT__set_SSE2_enable(int flag)
return sse2_enabled;
}
#if defined(_WIN64) && _MSVCR_VER>=120
#if defined(_WIN64)
# if _MSVCR_VER>=140
/*********************************************************************
* _get_FMA3_enable (UCRTBASE.@)
*/
int CDECL MSVCRT__get_FMA3_enable(void)
{
FIXME("() stub\n");
return 0;
}
# endif
# if _MSVCR_VER>=120
/*********************************************************************
* _set_FMA3_enable (MSVCR120.@)
*/
@ -126,6 +138,7 @@ int CDECL MSVCRT__set_FMA3_enable(int flag)
FIXME("(%x) stub\n", flag);
return 0;
}
# endif
#endif
#if !defined(__i386__) || _MSVCR_VER>=120

View File

@ -357,7 +357,7 @@
@ cdecl _fwrite_nolock(ptr long long ptr) MSVCRT__fwrite_nolock
@ cdecl _gcvt(double long str) MSVCRT__gcvt
@ cdecl _gcvt_s(ptr long double long) MSVCRT__gcvt_s
@ stub _get_FMA3_enable
@ cdecl -arch=win64 _get_FMA3_enable() MSVCRT__get_FMA3_enable
@ cdecl _get_current_locale() MSVCRT__get_current_locale
@ cdecl _get_daylight(ptr)
@ cdecl _get_doserrno(ptr)