]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR libitm/57643 (libitm.c/reentrant.c hangs on POWER8 with HTM)
authorPeter Bergner <bergner@vnet.ibm.com>
Mon, 3 Mar 2014 22:13:28 +0000 (16:13 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Mon, 3 Mar 2014 22:13:28 +0000 (16:13 -0600)
commit36033d95281af72864022a3aa85527d710a3ef5c
tree83feae93939ce482b71ea98ddc7787c821e4459c
parent6776367e7b051ae0a74c293254da2d0278deb63a
backport: re PR libitm/57643 (libitm.c/reentrant.c hangs on POWER8 with HTM)

Backport from mainline
2013-06-20  Torvald Riegel  <triegel@redhat.com>

* query.cc (_ITM_inTransaction): Abort when using the HTM fastpath.
(_ITM_getTransactionId): Same.
* config/x86/target.h (htm_transaction_active): New.

2013-06-20  Torvald Riegel  <triegel@redhat.com>

PR libitm/57643
* beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in
the HTM fastpath.

From-SVN: r208295
libitm/ChangeLog
libitm/beginend.cc
libitm/config/x86/target.h
libitm/query.cc