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
ce18a733
Commit
ce18a733
authored
Aug 18, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 18, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcomp: Implement stub for _vcomp_flush and add tests.
parent
bd7f43d7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
4 deletions
+19
-4
main.c
dlls/vcomp/main.c
+5
-0
vcomp.c
dlls/vcomp/tests/vcomp.c
+10
-0
vcomp.spec
dlls/vcomp/vcomp.spec
+1
-1
vcomp100.spec
dlls/vcomp100/vcomp100.spec
+1
-1
vcomp110.spec
dlls/vcomp110/vcomp110.spec
+1
-1
vcomp90.spec
dlls/vcomp90/vcomp90.spec
+1
-1
No files found.
dlls/vcomp/main.c
View file @
ce18a733
...
...
@@ -501,6 +501,11 @@ void CDECL omp_set_num_threads(int num_threads)
vcomp_num_threads
=
num_threads
;
}
void
CDECL
_vcomp_flush
(
void
)
{
TRACE
(
"(): stub
\n
"
);
}
void
CDECL
_vcomp_barrier
(
void
)
{
struct
vcomp_team_data
*
team_data
=
vcomp_init_thread_data
()
->
team
;
...
...
dlls/vcomp/tests/vcomp.c
View file @
ce18a733
...
...
@@ -52,6 +52,7 @@ static void (CDECL *p_vcomp_atomic_sub_r8)(double *dest, double val);
static
void
(
CDECL
*
p_vcomp_atomic_xor_i4
)(
int
*
dest
,
int
val
);
static
void
(
CDECL
*
p_vcomp_barrier
)(
void
);
static
void
(
CDECL
*
p_vcomp_enter_critsect
)(
CRITICAL_SECTION
**
critsect
);
static
void
(
CDECL
*
p_vcomp_flush
)(
void
);
static
void
(
CDECL
*
p_vcomp_for_dynamic_init
)(
unsigned
int
flags
,
unsigned
int
first
,
unsigned
int
last
,
int
step
,
unsigned
int
chunksize
);
static
int
(
CDECL
*
p_vcomp_for_dynamic_next
)(
unsigned
int
*
begin
,
unsigned
int
*
end
);
...
...
@@ -233,6 +234,7 @@ static BOOL init_vcomp(void)
VCOMP_GET_PROC
(
_vcomp_atomic_xor_i4
);
VCOMP_GET_PROC
(
_vcomp_barrier
);
VCOMP_GET_PROC
(
_vcomp_enter_critsect
);
VCOMP_GET_PROC
(
_vcomp_flush
);
VCOMP_GET_PROC
(
_vcomp_for_dynamic_init
);
VCOMP_GET_PROC
(
_vcomp_for_dynamic_next
);
VCOMP_GET_PROC
(
_vcomp_for_static_end
);
...
...
@@ -1276,6 +1278,13 @@ static void test_vcomp_enter_critsect(void)
pomp_set_num_threads
(
max_threads
);
}
static
void
test_vcomp_flush
(
void
)
{
p_vcomp_flush
();
p_vcomp_flush
();
p_vcomp_flush
();
}
static
void
test_atomic_integer32
(
void
)
{
struct
...
...
@@ -1395,6 +1404,7 @@ START_TEST(vcomp)
test_vcomp_master_begin
();
test_vcomp_single_begin
();
test_vcomp_enter_critsect
();
test_vcomp_flush
();
test_atomic_integer32
();
test_atomic_float
();
test_atomic_double
();
...
...
dlls/vcomp/vcomp.spec
View file @
ce18a733
...
...
@@ -54,7 +54,7 @@
@ stub _vcomp_copyprivate_broadcast
@ stub _vcomp_copyprivate_receive
@ cdecl _vcomp_enter_critsect(ptr)
@
stub _vcomp_flush
@
cdecl _vcomp_flush()
@ cdecl _vcomp_for_dynamic_init(long long long long long)
@ stub _vcomp_for_dynamic_init_i8
@ cdecl _vcomp_for_dynamic_next(ptr ptr)
...
...
dlls/vcomp100/vcomp100.spec
View file @
ce18a733
...
...
@@ -54,7 +54,7 @@
@ stub _vcomp_copyprivate_broadcast
@ stub _vcomp_copyprivate_receive
@ cdecl _vcomp_enter_critsect(ptr) vcomp._vcomp_enter_critsect
@
stub
_vcomp_flush
@
cdecl _vcomp_flush() vcomp.
_vcomp_flush
@ cdecl _vcomp_for_dynamic_init(long long long long long) vcomp._vcomp_for_dynamic_init
@ stub _vcomp_for_dynamic_init_i8
@ cdecl _vcomp_for_dynamic_next(ptr ptr) vcomp._vcomp_for_dynamic_next
...
...
dlls/vcomp110/vcomp110.spec
View file @
ce18a733
...
...
@@ -55,7 +55,7 @@
@ stub _vcomp_copyprivate_broadcast
@ stub _vcomp_copyprivate_receive
@ cdecl _vcomp_enter_critsect(ptr) vcomp._vcomp_enter_critsect
@
stub
_vcomp_flush
@
cdecl _vcomp_flush() vcomp.
_vcomp_flush
@ cdecl _vcomp_for_dynamic_init(long long long long long) vcomp._vcomp_for_dynamic_init
@ stub _vcomp_for_dynamic_init_i8
@ cdecl _vcomp_for_dynamic_next(ptr ptr) vcomp._vcomp_for_dynamic_next
...
...
dlls/vcomp90/vcomp90.spec
View file @
ce18a733
...
...
@@ -54,7 +54,7 @@
@ stub _vcomp_copyprivate_broadcast
@ stub _vcomp_copyprivate_receive
@ cdecl _vcomp_enter_critsect(ptr) vcomp._vcomp_enter_critsect
@
stub
_vcomp_flush
@
cdecl _vcomp_flush() vcomp.
_vcomp_flush
@ cdecl _vcomp_for_dynamic_init(long long long long long) vcomp._vcomp_for_dynamic_init
@ stub _vcomp_for_dynamic_init_i8
@ cdecl _vcomp_for_dynamic_next(ptr ptr) vcomp._vcomp_for_dynamic_next
...
...
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