summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2020-03-31 09:45:21 +0300
committerIvan Maidanski <ivmai@mail.ru>2020-03-31 09:45:21 +0300
commit8b26d9f29a6ad1432c553634548361fc057c8423 (patch)
tree4cb6f4132faccc3950ed386ac1cd746dd251c935 /src
parentd6813e3df362038579f05c3236e5c31fe3ef0c22 (diff)
downloadlibatomic_ops-8b26d9f29a6ad1432c553634548361fc057c8423.tar.gz
Remove comments that gcc/powerpc.h and gcc/s390.h are untested
* src/atomic_ops/sysdeps/gcc/powerpc.h [AO_DISABLE_GCC_ATOMICS && !AO_PREFER_GENERALIZED] (AO_test_and_set): Remove comment that the function is untested. * src/atomic_ops/sysdeps/gcc/s390.h: Remove comment that the all functions are untested; replace FIXME with TODO for test_and_set_t_is_ao_t.h.
Diffstat (limited to 'src')
-rw-r--r--src/atomic_ops/sysdeps/gcc/powerpc.h2
-rw-r--r--src/atomic_ops/sysdeps/gcc/s390.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/powerpc.h b/src/atomic_ops/sysdeps/gcc/powerpc.h
index eb594a0..e70b76d 100644
--- a/src/atomic_ops/sysdeps/gcc/powerpc.h
+++ b/src/atomic_ops/sysdeps/gcc/powerpc.h
@@ -138,7 +138,7 @@ AO_store_release(volatile AO_t *addr, AO_t value)
/* only cost us a load immediate instruction. */
AO_INLINE AO_TS_VAL_t
AO_test_and_set(volatile AO_TS_t *addr) {
-/* Completely untested. And we should be using smaller objects anyway. */
+ /* TODO: And we should be using smaller objects anyway. */
AO_t oldval;
AO_t temp = 1; /* locked value */
diff --git a/src/atomic_ops/sysdeps/gcc/s390.h b/src/atomic_ops/sysdeps/gcc/s390.h
index fe41898..91bec4e 100644
--- a/src/atomic_ops/sysdeps/gcc/s390.h
+++ b/src/atomic_ops/sysdeps/gcc/s390.h
@@ -15,7 +15,6 @@
*
*/
-/* FIXME: untested. */
/* The relevant documentation appears to be at */
/* http://publibz.boulder.ibm.com/epubs/pdf/dz9zr003.pdf */
/* around page 5-96. Apparently: */
@@ -35,7 +34,7 @@
#include "../ordered_except_wr.h"
#include "../test_and_set_t_is_ao_t.h"
-/* FIXME: Is there a way to do byte-sized test-and-set? */
+/* TODO: Is there a way to do byte-sized test-and-set? */
/* TODO: AO_nop_full should probably be implemented directly. */
/* It appears that certain BCR instructions have that effect. */