gcc/libitm/config/linux
Torvald Riegel 6041f70ae3 libitm: Fix HTM fastpath.
* beginend.cc (GTM::gtm_thread::serial_lock): Put on cacheline
	boundary.
	(htm_fastpath): Remove.
	(gtm_thread::begin_transaction): Fix HTM fastpath.
	(_ITM_commitTransaction): Adapt.
	(_ITM_commitTransactionEH): Adapt.
	* libitm/config/linux/rwlock.h (gtm_rwlock): Add htm_fastpath member
	and accessors.
	* libitm/config/posix/rwlock.h (gtm_rwlock): Likewise.
	* libitm/config/posix/rwlock.cc (gtm_rwlock::gtm_rwlock): Adapt.
	* libitm/config/x86/sjlj.S (_ITM_beginTransaction): Fix HTM fastpath.
	* libitm/libitm_i.h (htm_fastpath): Remove declaration.
	* libitm/method-serial.cc (htm_mg): Adapt.
	(gtm_thread::serialirr_mode): Adapt.
	* libitm/query.cc (_ITM_inTransaction, _ITM_getTransactionId): Adapt.

From-SVN: r232735
2016-01-22 16:13:06 +00:00
..
alpha Update copyright years. 2016-01-04 15:30:50 +01:00
powerpc Update copyright years. 2016-01-04 15:30:50 +01:00
sh Update copyright years. 2016-01-04 15:30:50 +01:00
sparc Update copyright years. 2016-01-04 15:30:50 +01:00
x86 Update copyright years. 2016-01-04 15:30:50 +01:00
futex.cc Update copyright years. 2016-01-04 15:30:50 +01:00
futex.h Update copyright years. 2016-01-04 15:30:50 +01:00
futex_bits.h Update copyright years. 2016-01-04 15:30:50 +01:00
rwlock.cc libitm: Fix seq-cst MOs/fences in rwlock. 2016-01-13 21:39:50 +00:00
rwlock.h libitm: Fix HTM fastpath. 2016-01-22 16:13:06 +00:00