gcc/libitm
Richard Henderson 36cfbee133 libitm: Conversion to c++11 atomics.
* local_atomic: New file.
        * libitm_i.h: Include it.
        (gtm_thread::shared_state): Use atomic template.
        * beginend.cc (GTM::gtm_clock): Use atomic template.
        (global_tid): Use atomic template if 64-bit atomics available.
        (gtm_thread::gtm_thread): Update shared_state access.
        (gtm_thread::trycommit): Likewise.
        (choose_code_path): Update global_tid access.
        * method-gl.cc (gl_mg::orec): Use atomic template.  Update all users.
        * stmlock.h (GTM::gtm_clock): Use atomic template.
        (gtm_get_clock, gtm_inc_clock): Update accesses.
        * config/linux/rwlock.cc (gtm_rwlock::read_lock): Remove
        redundant __sync_synchronize after atomic shared_state access.
        * config/posix/rwlock.cc (gtm_rwlock::read_lock): Likewise.
        (gtm_rwlock::write_lock_generic): Likewise.
        (gtm_rwlock::read_unlock): Likewise.
        * config/alpha/target.h (atomic_read_barrier): Remove.
        (atomic_write_barrier): Remove.
        * config/x86/target.h (atomic_read_barrier): Remove.
        (atomic_write_barrier): Remove.

From-SVN: r182294
2011-12-13 11:11:25 -08:00
..
config libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
testsuite weakref.m4: New file. 2011-11-22 14:49:11 +00:00
aatree.cc
aatree.h
acinclude.m4 Support sun symbol versioning in libitm 2011-11-21 17:03:50 +00:00
aclocal.m4 weakref.m4: New file. 2011-11-22 14:49:11 +00:00
alloc_c.cc
alloc_cpp.cc weakref.m4: New file. 2011-11-22 14:49:11 +00:00
alloc.cc
barrier.cc
beginend.cc libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
ChangeLog libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
clone.cc
common.h
config.h.in weakref.m4: New file. 2011-11-22 14:49:11 +00:00
configure weakref.m4: New file. 2011-11-22 14:49:11 +00:00
configure.ac weakref.m4: New file. 2011-11-22 14:49:11 +00:00
configure.tgt Fix tests for libitm support. 2011-11-08 08:28:30 -08:00
containers.h
dispatch.h
eh_cpp.cc weakref.m4: New file. 2011-11-22 14:49:11 +00:00
libitm_i.h libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
libitm.h
libitm.map
libitm.spec.in
libitm.texi
local_atomic libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
local_type_traits
local.cc Fix a darwin10 build problem. 2011-11-08 15:36:33 -08:00
Makefile.am Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined". 2011-11-23 09:46:59 +00:00
Makefile.in Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined". 2011-11-23 09:46:59 +00:00
method-gl.cc libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
method-serial.cc
query.cc
retry.cc
stmlock.h libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
useraction.cc
util.cc