Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f53b2095
Commit
f53b2095
authored
Aug 04, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't reset x87 in x86_64 fpreset.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f46ef017
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
math.c
dlls/msvcrt/math.c
+4
-1
No files found.
dlls/msvcrt/math.c
View file @
f53b2095
...
...
@@ -5901,7 +5901,7 @@ int CDECL _finite(double num)
*/
void
CDECL
_fpreset
(
void
)
{
#if (defined(__GNUC__) || defined(__clang__)) &&
(defined(__i386__) || defined(__x86_64__)
)
#if (defined(__GNUC__) || defined(__clang__)) &&
defined(__i386__
)
const
unsigned
int
x86_cw
=
0x27f
;
__asm__
__volatile__
(
"fninit; fldcw %0"
:
:
"m"
(
x86_cw
)
);
if
(
sse2_supported
)
...
...
@@ -5909,6 +5909,9 @@ void CDECL _fpreset(void)
unsigned
int
cw
=
_MCW_EM
,
sw
=
0
;
_setfp_sse
(
&
cw
,
~
0
,
&
sw
,
~
0
);
}
#elif defined(__x86_64__)
unsigned
int
cw
=
_MCW_EM
,
sw
=
0
;
_setfp_sse
(
&
cw
,
~
0
,
&
sw
,
~
0
);
#else
FIXME
(
"not implemented
\n
"
);
#endif
...
...
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