Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f2b3df63
Commit
f2b3df63
authored
Aug 24, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: The floating point adjust functions only make sense on i386.
parent
49643745
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
24 deletions
+28
-24
main.c
dlls/msvcrt/main.c
+0
-6
math.c
dlls/msvcrt/math.c
+10
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+18
-18
No files found.
dlls/msvcrt/main.c
View file @
f2b3df63
...
...
@@ -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
;
dlls/msvcrt/math.c
View file @
f2b3df63
...
...
@@ -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__ */
dlls/msvcrt/msvcrt.spec
View file @
f2b3df63
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment