projects
/
platform
/
upstream
/
libatomic_ops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3946b6a
)
Add TODO item to gcc/alpha.h
author
Ivan Maidanski
<ivmai@mail.ru>
Tue, 18 Sep 2012 13:41:18 +0000
(17:41 +0400)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 18 Sep 2012 13:41:18 +0000
(17:41 +0400)
src/atomic_ops/sysdeps/gcc/alpha.h
patch
|
blob
|
history
diff --git
a/src/atomic_ops/sysdeps/gcc/alpha.h
b/src/atomic_ops/sysdeps/gcc/alpha.h
index
016e4d1
..
95d4c32
100644
(file)
--- a/
src/atomic_ops/sysdeps/gcc/alpha.h
+++ b/
src/atomic_ops/sysdeps/gcc/alpha.h
@@
-38,8
+38,9
@@
AO_nop_write(void)
/* mb should be used for AO_nop_read(). That's the default. */
+/* TODO: implement AO_fetch_and_add explicitly. */
+
/* We believe that ldq_l ... stq_c does not imply any memory barrier. */
-/* We should add an explicit fetch_and_add definition. */
AO_INLINE int
AO_compare_and_swap(volatile AO_t *addr,
AO_t old, AO_t new_val)