]> gcc.gnu.org Git - gcc.git/commit
libitm: Fix HTM fastpath.
authorTorvald Riegel <triegel@redhat.com>
Fri, 22 Jan 2016 16:13:06 +0000 (16:13 +0000)
committerTorvald Riegel <torvald@gcc.gnu.org>
Fri, 22 Jan 2016 16:13:06 +0000 (16:13 +0000)
commit6041f70ae3c9822a41046a7826c1d33818d346bd
tree11c4d3a4315d5b73971745da630b492a4481574a
parent057f7d3afdba4fb5b8119d225140b94f37d1ac70
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
libitm/ChangeLog
libitm/beginend.cc
libitm/config/linux/rwlock.h
libitm/config/posix/rwlock.cc
libitm/config/posix/rwlock.h
libitm/config/x86/sjlj.S
libitm/libitm_i.h
libitm/method-serial.cc
libitm/query.cc
This page took 0.061862 seconds and 5 git commands to generate.