This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libitm: Fix handling of reentrancy in the HTM fastpath


On Thu, 2013-06-20 at 11:49 +0200, Torvald Riegel wrote:
> You're right, that was missing for x86 as well.  Please see the updated
> second patch that is attached.  It additionally checks htm_fastpath to
> see whether we are actually using the HTM.  This variable is initialized
> to the value that htm_init() returns.  This should do the right thing I
> suppose.

Of course you're right too.  I totally missed we were already caching
that value.  Ok, I removed the unneeded call to htm_available() in my
htm_transaction_active() and all is well using your second patch.
Thanks again!

Peter



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]