projects
/
dyninst.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Removed obsolete code from lock implementation for power.
[dyninst.git]
/
dyninstAPI_RT
/
src
/
RTthread-power-asm.s
1
#include "RTconst.h"
2
#include "../../dyninstAPI/src/inst-power.h"
3
.machine "push"
4
.machine "ppc"
5
.globl DYNINSTthreadIndexFAST
6
.globl .DYNINSTthreadIndexFAST
7
DYNINSTthreadIndexFAST:
8
.DYNINSTthreadIndexFAST:
9
mr 3,12
10
br
11
.globl compare_and_swap2
12
.globl .compare_and_swap2
13
compare_and_swap2:
14
.compare_and_swap2:
15
lwarx 5,0,3
16
stwcx. 4,0,3
17
bne- compare_and_swap2
18
mr 3,5
19
blr
20
.machine "pop"