msvcrt: The floating point adjust functions only make sense on i386.

This commit is contained in:
Alexandre Julliard 2009-08-24 12:50:46 +02:00
parent 4964374570
commit f2b3df6371
3 changed files with 28 additions and 24 deletions

View File

@ -126,9 +126,3 @@ void CDECL MSVCRT_I10_OUTPUT(void)
/* also known as 80 bit floating point (long double */
/* for some compilers, not MSVC) */
}
/*********************************************************************
* _adjust_fdiv (MSVCRT.@)
* Used by the MSVC compiler to work around the Pentium FDIV bug.
*/
int MSVCRT__adjust_fdiv = 0;

View File

@ -1030,6 +1030,14 @@ MSVCRT_ldiv_t CDECL MSVCRT_ldiv(MSVCRT_long num, MSVCRT_long denom)
}
#endif /* ifdef __i386__ */
#ifdef __i386__
/*********************************************************************
* _adjust_fdiv (MSVCRT.@)
* Used by the MSVC compiler to work around the Pentium FDIV bug.
*/
int MSVCRT__adjust_fdiv = 0;
/***********************************************************************
* _adj_fdiv_m16i (MSVCRT.@)
*
@ -1252,3 +1260,5 @@ void _safe_fprem1(void)
{
TRACE("(): stub\n");
}
#endif /* __i386__ */

View File

@ -160,20 +160,20 @@
@ cdecl _abnormal_termination()
@ cdecl _access(str long) MSVCRT__access
@ extern _acmdln MSVCRT__acmdln
@ stdcall _adj_fdiv_m16i(long)
@ stdcall _adj_fdiv_m32(long)
@ stdcall _adj_fdiv_m32i(long)
@ stdcall _adj_fdiv_m64(double)
@ cdecl _adj_fdiv_r()
@ stdcall _adj_fdivr_m16i(long)
@ stdcall _adj_fdivr_m32(long)
@ stdcall _adj_fdivr_m32i(long)
@ stdcall _adj_fdivr_m64(double)
@ cdecl _adj_fpatan()
@ cdecl _adj_fprem()
@ cdecl _adj_fprem1()
@ cdecl _adj_fptan()
@ extern _adjust_fdiv MSVCRT__adjust_fdiv
@ stdcall -arch=i386 _adj_fdiv_m16i(long)
@ stdcall -arch=i386 _adj_fdiv_m32(long)
@ stdcall -arch=i386 _adj_fdiv_m32i(long)
@ stdcall -arch=i386 _adj_fdiv_m64(double)
@ cdecl -arch=i386 _adj_fdiv_r()
@ stdcall -arch=i386 _adj_fdivr_m16i(long)
@ stdcall -arch=i386 _adj_fdivr_m32(long)
@ stdcall -arch=i386 _adj_fdivr_m32i(long)
@ stdcall -arch=i386 _adj_fdivr_m64(double)
@ cdecl -arch=i386 _adj_fpatan()
@ cdecl -arch=i386 _adj_fprem()
@ cdecl -arch=i386 _adj_fprem1()
@ cdecl -arch=i386 _adj_fptan()
@ extern -arch=i386 _adjust_fdiv MSVCRT__adjust_fdiv
# extern _aexit_rtn
@ cdecl _aligned_free(ptr)
@ cdecl _aligned_malloc(long long)
@ -453,10 +453,10 @@
@ cdecl _rmtmp()
@ cdecl _rotl(long long)
@ cdecl _rotr(long long)
@ cdecl _safe_fdiv()
@ cdecl _safe_fdivr()
@ cdecl _safe_fprem()
@ cdecl _safe_fprem1()
@ cdecl -arch=i386 _safe_fdiv()
@ cdecl -arch=i386 _safe_fdivr()
@ cdecl -arch=i386 _safe_fprem()
@ cdecl -arch=i386 _safe_fprem1()
@ cdecl _scalb( double long)
@ cdecl _searchenv(str str ptr)
@ stdcall -i386 _seh_longjmp_unwind(ptr)