This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[cxx-mem-model] C++ wrappers


Same as before, only a slight change. __sync_mem_flag_test_and_set() and __sync_mem_flag_clear() have been removed in a different consolidation patch, so this changes those calls to __sync_mem_exchange() and __sync_mem_store() which are subsuming all the behaviour of those routines.

Straight up translation which now calls the new routines with a memory model parameter instead of the old __sync routines with various barriers.

bootstrapped on x86_64-unknown-linux-gnu and no new regressions.

OK for branch?

Attachment: c++.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]