summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-08-17 19:51:30 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-08-17 19:53:09 +0300
commitc41fc0dd71426b097f3def64a5861be26116bf84 (patch)
treec93b1f21c979e9bd067db87d1fd92f5880183702
parent90108880a324be588ae61ec12d844f4f7db1968e (diff)
downloadlibatomic_ops-c41fc0dd71426b097f3def64a5861be26116bf84.tar.gz
Fix (delete) comment for AO_and_full (x86)
* src/atomic_ops/sysdeps/gcc/x86.h [!AO_PREFER_GENERALIZED] (AO_and_full): Remove incorrect comment (the code should work even for i386). * src/atomic_ops/sysdeps/sunc/x86.h [!AO_PREFER_GENERALIZED] (AO_and_full): Likewise.
-rw-r--r--src/atomic_ops/sysdeps/gcc/x86.h1
-rw-r--r--src/atomic_ops/sysdeps/sunc/x86.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/x86.h b/src/atomic_ops/sysdeps/gcc/x86.h
index dc25505..3ccfd02 100644
--- a/src/atomic_ops/sysdeps/gcc/x86.h
+++ b/src/atomic_ops/sysdeps/gcc/x86.h
@@ -96,7 +96,6 @@ AO_short_fetch_and_add_full (volatile unsigned short *p, unsigned short incr)
#define AO_HAVE_short_fetch_and_add_full
#ifndef AO_PREFER_GENERALIZED
- /* Really only works for 486 and later */
AO_INLINE void
AO_and_full (volatile AO_t *p, AO_t value)
{
diff --git a/src/atomic_ops/sysdeps/sunc/x86.h b/src/atomic_ops/sysdeps/sunc/x86.h
index a3cb922..12cb3b8 100644
--- a/src/atomic_ops/sysdeps/sunc/x86.h
+++ b/src/atomic_ops/sysdeps/sunc/x86.h
@@ -87,7 +87,6 @@ AO_short_fetch_and_add_full (volatile unsigned short *p, unsigned short incr)
#define AO_HAVE_short_fetch_and_add_full
#ifndef AO_PREFER_GENERALIZED
- /* Really only works for 486 and later */
AO_INLINE void
AO_and_full (volatile AO_t *p, AO_t value)
{