]> git.ipfire.org Git - thirdparty/gcc.git/commit - libitm/method-ml.cc
libitm: Use multiplicative hashing in the multi-lock TM method.
authorTorvald Riegel <triegel@redhat.com>
Thu, 26 Nov 2015 16:10:54 +0000 (16:10 +0000)
committerTorvald Riegel <torvald@gcc.gnu.org>
Thu, 26 Nov 2015 16:10:54 +0000 (16:10 +0000)
commite7f7330fede03f26c6a3d03c09c872d5f5ed7c32
treed6f4acde73c336428623ca6fbf7da9854ca9b1a9
parent43a2362b94f05865d77a029ecca7a18da4d5a7e1
libitm: Use multiplicative hashing in the multi-lock TM method.

* method-ml.cc (ml_mg): Use multiplicative instead of simple hashing.
(ml_wt_dispatch::pre_write): Adapt.
(ml_wt_dispatch::pre_load): Likewise.

From-SVN: r230975
libitm/ChangeLog
libitm/method-ml.cc