This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation
- From: Richard Henderson <rth at redhat dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Andi Kleen <ak at linux dot intel dot com>
- Date: Thu, 20 Jun 2013 11:26:38 -0700
- Subject: Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation
- References: <1371734413-12372-1-git-send-email-andi at firstfloor dot org> <51C3441A dot 50808 at redhat dot com> <20130620181449 dot GC6123 at two dot firstfloor dot org>
On 06/20/2013 11:14 AM, Andi Kleen wrote:
>>> +It should be only used for operands of type bool or atomic_flag. For
>>> +other types only part of the value may be set.
>>
>> @code{bool}. We have no definition for atomic_flag. Perhaps just @code{char}
>> for now?
>>
>>> +It should be only used for operands of type bool or atomic_flag and
>>
>> Same.
>>
>>> +in conjunction with __atomic_test_and_set.
>>
>> @code{__atomic_test_and_set}.
>
> Ok with these changes?
Yeah.
r~