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
d1f7d2c6
Commit
d1f7d2c6
authored
Feb 05, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine_port: Implemented interlocked_cmpxchg64 for x86_64.
parent
07db8882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
interlocked.c
libs/port/interlocked.c
+4
-5
No files found.
libs/port/interlocked.c
View file @
d1f7d2c6
...
...
@@ -141,11 +141,10 @@ __ASM_GLOBAL_FUNC(interlocked_cmpxchg_ptr,
"mov %rdx, %rax
\n\t
"
"lock cmpxchgq %rsi,(%rdi)
\n\t
"
"ret"
)
__int64
interlocked_cmpxchg64
(
__int64
*
dest
,
__int64
xchg
,
__int64
compare
)
{
/* FIXME: add code */
assert
(
0
);
}
__ASM_GLOBAL_FUNC
(
interlocked_cmpxchg64
,
"mov %rdx, %rax
\n\t
"
"lock cmpxchgq %rsi,(%rdi)
\n\t
"
"ret"
)
__ASM_GLOBAL_FUNC
(
interlocked_xchg
,
"mov %esi, %eax
\n\t
"
"lock xchgl %eax, (%rdi)
\n\t
"
...
...
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