Fix (delete) comment for AO_and_full (x86)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 17 Aug 2016 16:51:30 +0000 (19:51 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 17 Aug 2016 16:53:09 +0000 (19:53 +0300)
* 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.

src/atomic_ops/sysdeps/gcc/x86.h
src/atomic_ops/sysdeps/sunc/x86.h

index dc25505..3ccfd02 100644 (file)
@@ -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)
   {
index a3cb922..12cb3b8 100644 (file)
@@ -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)
   {