diff options
author | Torvald Riegel <triegel@redhat.com> | 2012-11-09 17:04:40 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2012-11-09 17:04:40 +0000 |
commit | 64fbcc74a336dd37eed05336788188ad9374f6e1 (patch) | |
tree | 9fd7bd08f877808bd7bb4eb601fd7482c9c85d6f /libitm/ChangeLog | |
parent | 2a28e76a78ec4f3bb1219c4ba5795f86dccb43cd (diff) | |
download | gcc-64fbcc74a336dd37eed05336788188ad9374f6e1.zip gcc-64fbcc74a336dd37eed05336788188ad9374f6e1.tar.gz gcc-64fbcc74a336dd37eed05336788188ad9374f6e1.tar.bz2 |
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
Diffstat (limited to 'libitm/ChangeLog')
-rw-r--r-- | libitm/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 3717261..bad2c8d 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,20 @@ +2012-11-09 Torvald Riegel <triegel@redhat.com> + + * 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. + 2012-11-04 Thomas Schwinge <thomas@codesourcery.com> * configure: Regenerate. |