Re: [cxx-mem-model] Some consolidation.

2011-09-15 Thread Richard Henderson
> * expr.h: Remove prototypes. > * sync-builtins.def (BUILT_IN_SYNC_MEM_FLAG_TEST_AND_SET, > BUILT_IN_SYNC_MEM_FLAG_CLEAR): Remove. > * optabs.h (enum direct_optab_index): Remove DOI_sync_mem_flag_*. > * optabs.c (expand_sync_lock_test_and_set): Remove. > (expand

[cxx-mem-model] Some consolidation.

2011-09-09 Thread Andrew MacLeod
I wasn't liking the duplication between the old __sync routines and the new __sync_mem routines. I thought it was going to add confusion to port maintainers at the very least. This patch consolidates everything except the various fetch_op routines, which I will do in a different patch since th