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
c74f6ca5
Commit
c74f6ca5
authored
Jan 25, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Implemented _fpreset for SSE2 and x86_64.
parent
98d7a021
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
math.c
dlls/msvcrt/math.c
+9
-3
No files found.
dlls/msvcrt/math.c
View file @
c74f6ca5
...
...
@@ -1111,10 +1111,16 @@ int CDECL _finite(double num)
*/
void
CDECL
_fpreset
(
void
)
{
#if defined(__GNUC__) && defined(__i386__)
__asm__
__volatile__
(
"fninit"
);
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
const
unsigned
int
x86_cw
=
0x27f
;
__asm__
__volatile__
(
"fninit; fldcw %0"
:
:
"m"
(
x86_cw
)
);
if
(
sse2_supported
)
{
const
unsigned
long
sse2_cw
=
0x1f80
;
__asm__
__volatile__
(
"ldmxcsr %0"
:
:
"m"
(
sse2_cw
)
);
}
#else
FIXME
(
":Not Implemented!
\n
"
);
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