gcc/libitm/config/linux
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
..
alpha libitm: Fixed conversion to C++11 atomics. 2011-12-24 01:42:20 +00:00
powerpc libitm: PowerPC support. 2012-01-05 13:36:35 -08:00
sh libitm: Fixed conversion to C++11 atomics. 2011-12-24 01:42:20 +00:00
sparc configure.tgt (target_cpu): Handle sparc and sparc64 & sparcv9. 2012-02-13 21:51:44 +00:00
x86 libitm: Fixed conversion to C++11 atomics. 2011-12-24 01:42:20 +00:00
futex.cc libitm: Fixed conversion to C++11 atomics. 2011-12-24 01:42:20 +00:00
futex.h libitm: Fixed conversion to C++11 atomics. 2011-12-24 01:42:20 +00:00
futex_bits.h libitm: Fixed conversion to C++11 atomics. 2011-12-24 01:42:20 +00:00
rwlock.cc libitm: Fix lost wake-up in serial lock. 2012-03-13 22:01:34 +00:00
rwlock.h Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00