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
ChangeLog Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
Makefile.am libitm: Add multi-lock, write-through TM method. 2012-02-14 13:14:27 +00:00
Makefile.in re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue) 2012-09-20 16:41:17 +02:00
aatree.cc Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
aatree.h Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
acinclude.m4 Detect assembler support for RTM 2012-10-30 21:46:20 -07:00
aclocal.m4 weakref.m4: New file. 2011-11-22 14:49:11 +00:00
alloc.cc Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
alloc_c.cc Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
alloc_cpp.cc re PR libitm/52220 (FAIL: libitm.c++/eh-1.C execution test due to Xcode 4 weakref linker bug) 2012-02-15 23:39:28 +00:00
barrier.cc Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
beginend.cc Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
clearcap.map Clear hardware capabilities on libitm.so with Sun ld 2012-01-23 13:03:25 +00:00
clone.cc Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
common.h libitm: Add xcalloc. 2012-02-14 13:13:56 +00:00
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 libitm: Truncate undo log after rolling back. 2012-01-13 23:45:42 +00:00
dispatch.h Ask dispatch whether it requires serial mode. 2012-10-24 19:52:02 +00:00
eh_cpp.cc eh_cpp.cc: Fix __cxa_end_catch declaration. 2012-05-21 22:48:00 +00:00
libitm.h Remove _ITM_getThreadnum 2012-01-23 13:05:00 +00:00
libitm.map Remove _ITM_getThreadnum 2012-01-23 13:05:00 +00:00
libitm.spec.in Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
libitm.texi Clarify ABI requirements for data-logging functions. 2012-10-24 19:52:18 +00:00
libitm_i.h Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
local.cc libitm: Truncate undo log after rolling back. 2012-01-13 23:45:42 +00:00
local_atomic libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
local_type_traits Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
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 Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
retry.cc Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
stmlock.h libitm: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
useraction.cc Merge from transactional-memory branch. 2011-11-08 11:13:41 +00:00
util.cc libitm: Add xcalloc. 2012-02-14 13:13:56 +00:00