Re: [cxx-mem-model] sync_mem_exchange implementation with memory model parameters

2011-06-22 Thread Richard Henderson
On 06/21/2011 03:27 PM, Andrew MacLeod wrote: > * doc/extend.texi (__sync_mem_exchange): Document. > * cppbuiltin.c (define__GNUC__): Define __SYNC_MEM*. > * c-family/c-common.c (BUILT_IN_SYNC_MEM_EXCHANGE_N): Add case. > * optabs.c (expand_sync_mem_exchange): New. > *

[cxx-mem-model] sync_mem_exchange implementation with memory model parameters

2011-06-21 Thread Andrew MacLeod
OK, I've brought the cxx-mem-model branch up to mainline as of this afternoon. (After I applied the patch which renamed all the mis-named _sync expanders) So this is the marginally reworked patch we had before which I think satisfies all the requests I've seen. Bootstraps and no regerssions