Re: [doc, rfa] (v2) improve x86 transactional memory intrinsics section

2015-02-26 Thread Gerald Pfeifer
On Tue, 24 Feb 2015, Sandra Loosemore wrote: Thanks for the review; I think we've got the technical corrections nailed down now. Doc maintainers, is this OK? You can approve yourself now. Watch out for my next mail. ;-) Gerald

Re: [doc, rfa] (v2) improve x86 transactional memory intrinsics section

2015-02-24 Thread Patrick Marlier
On 02/24/2015 01:51 AM, Sandra Loosemore wrote: On 02/23/2015 03:36 AM, Patrick Marlier wrote: On 02/22/2015 04:06 AM, Sandra Loosemore wrote: +Here is an example showing handling for @code{_XABORT_RETRY} +and a fallback path for other failures: + +@smallexample +#include immintrin.h + +int

Re: [doc, rfa] (v2) improve x86 transactional memory intrinsics section

2015-02-24 Thread Sandra Loosemore
On 02/24/2015 03:01 AM, Patrick Marlier wrote: On 02/24/2015 01:51 AM, Sandra Loosemore wrote: [snip] Revised patch attached. OK to commit this version? -Sandra _XBEGIN_EXPLICIT does not exist right? maybe 0 is better to avoid confusion? or ~_XBEGIN_STARTED? Argh, I meant to change

Re: [doc, rfa] (v2) improve x86 transactional memory intrinsics section

2015-02-23 Thread Sandra Loosemore
On 02/23/2015 03:36 AM, Patrick Marlier wrote: On 02/22/2015 04:06 AM, Sandra Loosemore wrote: +Here is an example showing handling for @code{_XABORT_RETRY} +and a fallback path for other failures: + +@smallexample +#include immintrin.h + +int n_tries, max_tries; +unsigned status =