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
15495d19
Commit
15495d19
authored
Aug 09, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Aug 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcomp/tests: Make float test i386 only.
amd64 and arm don't pass floats on the stack
parent
e40970bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
vcomp.c
dlls/vcomp/tests/vcomp.c
+6
-3
No files found.
dlls/vcomp/tests/vcomp.c
View file @
15495d19
...
...
@@ -419,6 +419,7 @@ static void CDECL fork_uintptr_cb(UINT_PTR a, UINT_PTR b, UINT_PTR c, UINT_PTR d
ok
(
e
==
5
,
"expected e == 5, got %p
\n
"
,
(
void
*
)
e
);
}
#ifdef __i386__
static
void
CDECL
fork_float_cb
(
float
a
,
float
b
,
float
c
,
float
d
,
float
e
)
{
ok
(
1
.
4999
<
a
&&
a
<
1
.
5001
,
"expected a == 1.5, got %f
\n
"
,
a
);
...
...
@@ -427,6 +428,7 @@ static void CDECL fork_float_cb(float a, float b, float c, float d, float e)
ok
(
4
.
4999
<
d
&&
d
<
4
.
5001
,
"expected d == 4.5, got %f
\n
"
,
d
);
ok
(
5
.
4999
<
e
&&
e
<
5
.
5001
,
"expected e == 5.5, got %f
\n
"
,
e
);
}
#endif
static
void
test_vcomp_fork
(
void
)
{
...
...
@@ -453,13 +455,14 @@ static void test_vcomp_fork(void)
p_vcomp_fork
(
TRUE
,
5
,
fork_uintptr_cb
,
(
UINT_PTR
)
1
,
(
UINT_PTR
)(
MAXUINT_PTR
-
2
),
(
UINT_PTR
)
3
,
(
UINT_PTR
)(
MAXUINT_PTR
-
4
),
(
UINT_PTR
)
5
);
if
(
sizeof
(
int
)
<
sizeof
(
void
*
))
skip
(
"skipping float test on x86_64
\n
"
);
else
#ifdef __i386__
{
void
(
CDECL
*
func
)(
BOOL
,
int
,
void
*
,
float
,
float
,
float
,
float
,
float
)
=
(
void
*
)
p_vcomp_fork
;
func
(
TRUE
,
5
,
fork_float_cb
,
1
.
5
f
,
2
.
5
f
,
3
.
5
f
,
4
.
5
f
,
5
.
5
f
);
}
#else
skip
(
"skipping float test on non-x86
\n
"
);
#endif
pomp_set_num_threads
(
max_threads
);
}
...
...
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