gcc/libitm
Torvald Riegel 64fbcc74a3 Add HTM fastpath and use Intel RTM for it on x86.
* beginend.cc (htm_fastpath): New.
	(gtm_thread::begin_transaction, _ITM_commitTransaction,
	_ITM_commitTransactionEH): Add HTM fastpath handling.
	* config/linux/rwlock.h (gtm_rwlock.is_write_locked): New.
	* config/posix/rwlock.h (gtm_rwlock.is_write_locked): New.
	* config/x86/target.h (htm_available, htm_init, htm_begin_success,
	htm_begin, htm_commit, htm_abort, htm_abort_should_retry): New.
	* configure.tgt: Add -mrtm to XCFLAGS.
	* method-serial.cc (htm_mg, o_htm_mg, htm_dispatch, dispatch_htm): New.
	(gtm_thread::serialirr_mode): Add HTM fastpath handling.
	* libitm_i.h (htm_fastpath, dispatch_htm): Declare.
	* retry.cc (parse_default_method): Add HTM method parsing.
	(gtm_thread::number_of_threads_changed): Use HTM by default if
	available.

From-SVN: r193369
2012-11-09 17:04:40 +00:00
..
config Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
testsuite Detect assembler support for RTM 2012-10-30 21:46:20 -07:00
aatree.cc
aatree.h
acinclude.m4 Detect assembler support for RTM 2012-10-30 21:46:20 -07:00
aclocal.m4
alloc_c.cc
alloc_cpp.cc
alloc.cc
barrier.cc
beginend.cc Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
ChangeLog Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
clearcap.map
clone.cc
common.h
config.h.in Detect assembler support for RTM 2012-10-30 21:46:20 -07:00
configure configure: Regenerate. 2012-11-05 00:17:34 +01:00
configure.ac Detect assembler support for RTM 2012-10-30 21:46:20 -07:00
configure.tgt Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
containers.h
dispatch.h Ask dispatch whether it requires serial mode. 2012-10-24 19:52:02 +00:00
eh_cpp.cc
libitm_i.h Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
libitm.h
libitm.map
libitm.spec.in
libitm.texi Clarify ABI requirements for data-logging functions. 2012-10-24 19:52:18 +00:00
local_atomic
local_type_traits
local.cc
Makefile.am
Makefile.in
method-gl.cc Ask dispatch whether it requires serial mode. 2012-10-24 19:52:02 +00:00
method-ml.cc Ask dispatch whether it requires serial mode. 2012-10-24 19:52:02 +00:00
method-serial.cc Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
query.cc
retry.cc Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
stmlock.h
useraction.cc
util.cc