From c41fc0dd71426b097f3def64a5861be26116bf84 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 17 Aug 2016 19:51:30 +0300 Subject: 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. --- src/atomic_ops/sysdeps/gcc/x86.h | 1 - src/atomic_ops/sysdeps/sunc/x86.h | 1 - 2 files changed, 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) { -- cgit v1.2.1