Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation

2013-06-20 Thread Richard Henderson
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 use

Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation

2013-06-20 Thread Andi Kleen
> > +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

Re: [PATCH 1/2] Improve __atomic_clear/test_and_set documentation

2013-06-20 Thread Richard Henderson
On 06/20/2013 06:20 AM, Andi Kleen wrote: > From: Andi Kleen > > Document that __atomic_clear and __atomic_test_and_set should > only be used with bool. > > gcc/: > 2013-06-13 Andi Kleen > > * doc/extend.texi: Document that __atomic_clear and > __atomic_test_and_set should only

[PATCH 1/2] Improve __atomic_clear/test_and_set documentation

2013-06-20 Thread Andi Kleen
From: Andi Kleen Document that __atomic_clear and __atomic_test_and_set should only be used with bool. gcc/: 2013-06-13 Andi Kleen * doc/extend.texi: Document that __atomic_clear and __atomic_test_and_set should only be used with bool. --- gcc/doc/extend.texi | 6 ++ 1