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
ff2b5c45
Commit
ff2b5c45
authored
Apr 19, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Apr 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Remove Alpha support.
parent
0e320438
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
57 deletions
+0
-57
interlocked.c
libs/port/interlocked.c
+0
-57
No files found.
libs/port/interlocked.c
View file @
ff2b5c45
...
...
@@ -268,63 +268,6 @@ void* interlocked_xchg_ptr( void** dest, void* val )
return
ret
;
}
#elif defined(__ALPHA__) && defined(__GNUC__)
__ASM_GLOBAL_FUNC
(
interlocked_cmpxchg
,
"L0cmpxchg:
\n\t
"
"ldl_l $0,0($16)
\n\t
"
"cmpeq $0,$18,$1
\n\t
"
"beq $1,L1cmpxchg
\n\t
"
"mov $17,$0
\n\t
"
"stl_c $0,0($16)
\n\t
"
"beq $0,L0cmpxchg
\n\t
"
"mov $18,$0
\n
"
"L1cmpxchg:
\n\t
"
"mb"
)
__ASM_GLOBAL_FUNC
(
interlocked_cmpxchg_ptr
,
"L0cmpxchg_ptr:
\n\t
"
"ldq_l $0,0($16)
\n\t
"
"cmpeq $0,$18,$1
\n\t
"
"beq $1,L1cmpxchg_ptr
\n\t
"
"mov $17,$0
\n\t
"
"stq_c $0,0($16)
\n\t
"
"beq $0,L0cmpxchg_ptr
\n\t
"
"mov $18,$0
\n
"
"L1cmpxchg_ptr:
\n\t
"
"mb"
)
__int64
interlocked_cmpxchg64
(
__int64
*
dest
,
__int64
xchg
,
__int64
compare
)
{
/* FIXME: add code */
assert
(
0
);
}
__ASM_GLOBAL_FUNC
(
interlocked_xchg
,
"L0xchg:
\n\t
"
"ldl_l $0,0($16)
\n\t
"
"mov $17,$1
\n\t
"
"stl_c $1,0($16)
\n\t
"
"beq $1,L0xchg
\n\t
"
"mb"
)
__ASM_GLOBAL_FUNC
(
interlocked_xchg_ptr
,
"L0xchg_ptr:
\n\t
"
"ldq_l $0,0($16)
\n\t
"
"mov $17,$1
\n\t
"
"stq_c $1,0($16)
\n\t
"
"beq $1,L0xchg_ptr
\n\t
"
"mb"
)
__ASM_GLOBAL_FUNC
(
interlocked_xchg_add
,
"L0xchg_add:
\n\t
"
"ldl_l $0,0($16)
\n\t
"
"addl $0,$17,$1
\n\t
"
"stl_c $1,0($16)
\n\t
"
"beq $1,L0xchg_add
\n\t
"
"mb"
)
#else
#include <pthread.h>
...
...
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