]> granicus.if.org Git - libatomic_ops/commitdiff
Add TODO items about missing double-wide operations for some targets
authorIvan Maidanski <ivmai@mail.ru>
Tue, 8 Jan 2013 10:52:16 +0000 (14:52 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 8 Jan 2013 10:52:16 +0000 (14:52 +0400)
* src/atomic_ops/sysdeps/gcc/mips.h: Add TODO items (about double-wide
operations like load/store and CAS).
* src/atomic_ops/sysdeps/gcc/powerpc.h: Likewise.
* src/atomic_ops/sysdeps/gcc/s390.h: Likewise.
* src/atomic_ops/sysdeps/msftc/arm.h: Likewise.

src/atomic_ops/sysdeps/gcc/mips.h
src/atomic_ops/sysdeps/gcc/powerpc.h
src/atomic_ops/sysdeps/gcc/s390.h
src/atomic_ops/sysdeps/msftc/arm.h

index a0afb95badfe0e52753e230a0137c70cc40852cb..10bb5715f098712099a277715aaf9ad07ed008d2 100644 (file)
@@ -163,7 +163,7 @@ AO_fetch_compare_and_swap(volatile AO_t *addr, AO_t old, AO_t new_val)
 #define AO_HAVE_fetch_compare_and_swap
 
 /* #include "../standard_ao_double_t.h" */
-/* TODO: implement AO_compare_double_and_swap_double if available.      */
+/* TODO: Implement double-wide operations if available. */
 
 /* CAS primitives with acquire, release and full semantics are  */
 /* generated automatically (and AO_int_... primitives are       */
index 275a2776f52cd2768d72fca97c9160b7830f429b..94e83e7a19a2bbec1a97a1e5f7e98adc734b1c8d 100644 (file)
@@ -355,3 +355,5 @@ AO_fetch_and_add_full(volatile AO_t *addr, AO_t incr) {
 #else
 # define AO_T_IS_INT
 #endif
+
+/* TODO: Implement double-wide operations if available. */
index 6dc65dd63fd762f6f8176587a0efbc155285ef11..b3026e63d54148be4e5fc0fd2891b65a83748dbb 100644 (file)
@@ -61,4 +61,4 @@ AO_INLINE int AO_compare_and_swap_full(volatile AO_t *addr,
 
 /* TODO: implement AO_fetch_compare_and_swap.   */
 
-/* TODO: Add double-wide compare-and-swap for 32-bit executables.       */
+/* TODO: Add double-wide operations for 32-bit executables.       */
index 5a96ee7c3b21118cbe14d3a7dd9c6739c51d96c8..c0195ecc7cf2b07c4597ac4c91e8d535762f86b8 100644 (file)
@@ -76,7 +76,7 @@ AO_store_full(volatile AO_t *addr, AO_t value)
 #define AO_HAVE_store_full
 
 /* #include "../standard_ao_double_t.h" */
-/* TODO: implement AO_compare_double_and_swap_double (similar to x86).  */
+/* TODO: implement double-wide operations (similar to x86).  */
 
 #else /* _M_ARM < 6 */