Add TODO item to gcc/alpha.h
authorIvan Maidanski <ivmai@mail.ru>
Tue, 18 Sep 2012 13:41:18 +0000 (17:41 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 18 Sep 2012 13:41:18 +0000 (17:41 +0400)
src/atomic_ops/sysdeps/gcc/alpha.h

index 016e4d1..95d4c32 100644 (file)
@@ -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)