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
f46ef017
Commit
f46ef017
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 clear x87 status word x86_64 _clearfp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab3afe83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
math.c
dlls/msvcrt/math.c
+3
-1
No files found.
dlls/msvcrt/math.c
View file @
f46ef017
...
...
@@ -5315,7 +5315,7 @@ unsigned int CDECL _statusfp(void)
unsigned
int
CDECL
_clearfp
(
void
)
{
unsigned
int
flags
=
0
;
#if (defined(__GNUC__) || defined(__clang__)) &&
(defined(__i386__) || defined(__x86_64__)
)
#if (defined(__GNUC__) || defined(__clang__)) &&
defined(__i386__
)
unsigned
long
fpword
;
__asm__
__volatile__
(
"fnstsw %0; fnclex"
:
"=m"
(
fpword
)
);
...
...
@@ -5333,6 +5333,8 @@ unsigned int CDECL _clearfp(void)
_setfp_sse
(
NULL
,
0
,
&
sse_sw
,
_MCW_EM
);
flags
|=
sse_sw
;
}
#elif defined(__x86_64__)
_setfp_sse
(
NULL
,
0
,
&
flags
,
_MCW_EM
);
#elif defined(__aarch64__)
ULONG_PTR
fpsr
;
...
...
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