On 10/04/2011 11:51 AM, Andrew MacLeod wrote: > * optabs.c (expand_sync_mem_load): Don't expand into a default load if > the type is larger than a word. Try a compare_and_swap with 0. > (expand_sync_mem_store): Return const0_rtx if a store is generated. If > type is larger than a word try an exchange, then fail. > * builtins.c (expand_builtin_sync_mem_store): Return a value. > (expand_builtin): If no store generated, leave a function call. > * expr.h (expand_sync_mem_store): Prototype returns value. > > * testsuite/gcc.dg/memmodel/sync-other-int128.c: Don't xfail any more.
Ok. r~