projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206065a
)
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
author
Andreas Jaeger
<aj@suse.de>
Sat, 12 Aug 2000 09:29:03 +0000
(09:29 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Sat, 12 Aug 2000 09:29:03 +0000
(09:29 +0000)
mips2 for assembler.
* sysdeps/mips/pt-machine.h (testandset): Add .set mips2 for
assembler.
(__compare_and_swap): Likewise.
* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Likewise.
sysdeps/unix/sysv/linux/mips/sys/tas.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/mips/sys/tas.h
b/sysdeps/unix/sysv/linux/mips/sys/tas.h
index
b24aabb
..
bc7f52a
100644
(file)
--- a/
sysdeps/unix/sysv/linux/mips/sys/tas.h
+++ b/
sysdeps/unix/sysv/linux/mips/sys/tas.h
@@
-42,7
+42,8
@@
_test_and_set (int *p, int v) __THROW
int r, t;
__asm__ __volatile__
- ("1:\n\t"
+ (".set\tmips2\n"
+ "1:\n\t"
"ll %0,%3\n\t"
".set push\n\t"
".set noreorder\n\t"