Re: [PATCH] Fix 65697. Add memory model support for stronger __sync operations.

2015-05-08 Thread Andrew MacLeod
On 05/08/2015 05:27 PM, Jeff Law wrote: On 05/07/2015 08:42 AM, Andrew MacLeod wrote: There has been some debate over the strength requirement of barriers for Curse you for the BZ reference. I read maybe the first 75%, then glossed over 15%, then read the last bit in detail. Hard to do near

Re: [PATCH] Fix 65697. Add memory model support for stronger __sync operations.

2015-05-08 Thread Jeff Law
On 05/07/2015 08:42 AM, Andrew MacLeod wrote: There has been some debate over the strength requirement of barriers for __sync operations... This is documented within the PR. Originally __sync was suppose to be synonymous with SEQ_CST, but there has been a slight slackening of the barrier-ness of

[PATCH] Fix 65697. Add memory model support for stronger __sync operations.

2015-05-07 Thread Andrew MacLeod
There has been some debate over the strength requirement of barriers for __sync operations... This is documented within the PR. Originally __sync was suppose to be synonymous with SEQ_CST, but there has been a slight slackening of the barrier-ness of SEQ_CST from the language lawyers. Under so