From 8b26d9f29a6ad1432c553634548361fc057c8423 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 31 Mar 2020 09:45:21 +0300 Subject: 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. --- src/atomic_ops/sysdeps/gcc/powerpc.h | 2 +- src/atomic_ops/sysdeps/gcc/s390.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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. */ -- cgit v1.2.1