diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2013-01-08 14:52:16 +0400 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2013-01-08 14:52:16 +0400 |
| commit | 0ee7f1e5f9ad22b1b4406d53ccd740721afd67ba (patch) | |
| tree | bb325fbe9d1ade24b97048272487a3d342bbd5d1 | |
| parent | 508c8004527bbd143ae2f97d10c5997ae5b7845a (diff) | |
| download | libatomic_ops-0ee7f1e5f9ad22b1b4406d53ccd740721afd67ba.tar.gz | |
Add TODO items about missing double-wide operations for some targets
* 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.
| -rw-r--r-- | src/atomic_ops/sysdeps/gcc/mips.h | 2 | ||||
| -rw-r--r-- | src/atomic_ops/sysdeps/gcc/powerpc.h | 2 | ||||
| -rw-r--r-- | src/atomic_ops/sysdeps/gcc/s390.h | 2 | ||||
| -rw-r--r-- | src/atomic_ops/sysdeps/msftc/arm.h | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/mips.h b/src/atomic_ops/sysdeps/gcc/mips.h index a0afb95..10bb571 100644 --- a/src/atomic_ops/sysdeps/gcc/mips.h +++ b/src/atomic_ops/sysdeps/gcc/mips.h @@ -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 */ diff --git a/src/atomic_ops/sysdeps/gcc/powerpc.h b/src/atomic_ops/sysdeps/gcc/powerpc.h index 275a277..94e83e7 100644 --- a/src/atomic_ops/sysdeps/gcc/powerpc.h +++ b/src/atomic_ops/sysdeps/gcc/powerpc.h @@ -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. */ diff --git a/src/atomic_ops/sysdeps/gcc/s390.h b/src/atomic_ops/sysdeps/gcc/s390.h index 6dc65dd..b3026e6 100644 --- a/src/atomic_ops/sysdeps/gcc/s390.h +++ b/src/atomic_ops/sysdeps/gcc/s390.h @@ -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. */ diff --git a/src/atomic_ops/sysdeps/msftc/arm.h b/src/atomic_ops/sysdeps/msftc/arm.h index 5a96ee7..c0195ec 100644 --- a/src/atomic_ops/sysdeps/msftc/arm.h +++ b/src/atomic_ops/sysdeps/msftc/arm.h @@ -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 */ |
