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
ab3afe83
Commit
ab3afe83
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 check x87 status word in x86_64 _statusfp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
24fb503e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
math.c
dlls/msvcrt/math.c
+5
-5
No files found.
dlls/msvcrt/math.c
View file @
ab3afe83
...
...
@@ -5236,11 +5236,9 @@ static BOOL _setfp_sse( unsigned int *cw, unsigned int cw_mask,
#endif
/**********************************************************************
* _statusfp2 (MSVCRT.@)
*
* Not exported by native msvcrt, added in msvcr80.
* _statusfp2 (MSVCR80.@)
*/
#if defined(__i386__)
|| defined(__x86_64__)
#if defined(__i386__)
void
CDECL
_statusfp2
(
unsigned
int
*
x86_sw
,
unsigned
int
*
sse2_sw
)
{
#if defined(__GNUC__) || defined(__clang__)
...
...
@@ -5277,12 +5275,14 @@ void CDECL _statusfp2( unsigned int *x86_sw, unsigned int *sse2_sw )
unsigned
int
CDECL
_statusfp
(
void
)
{
unsigned
int
flags
=
0
;
#if defined(__i386__)
|| defined(__x86_64__)
#if defined(__i386__)
unsigned
int
x86_sw
,
sse2_sw
;
_statusfp2
(
&
x86_sw
,
&
sse2_sw
);
/* FIXME: there's no definition for ambiguous status, just return all status bits for now */
flags
=
x86_sw
|
sse2_sw
;
#elif defined(__x86_64__)
_setfp_sse
(
NULL
,
0
,
&
flags
,
0
);
#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