gcc/libitm/config
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: Conversion to c++11 atomics. 2011-12-13 11:11:25 -08:00
arm arm-linux: Add libitm support. 2011-12-14 19:24:05 -08:00
generic libitm: Filter out undo writes that overlap with the libitm stack. 2012-01-13 23:45:06 +00:00
linux Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
posix Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00
powerpc libitm: PowerPC support. 2012-01-05 13:36:35 -08:00
sh configure.tgt: Add sh* case. 2011-12-17 03:19:40 +00:00
sparc target.h (cpu_relax): Read from CC register. 2012-02-14 09:22:26 +00:00
x86 Add HTM fastpath and use Intel RTM for it on x86. 2012-11-09 17:04:40 +00:00