Disable Hardware Lock Elision

765 Views Asked by At

I am trying to make the profit of Hardware Transactional Memory [TSX] visible in a little application. The compiler automatically uses Hardware Lock Elision [HLE] for Mutexes which is not what I want at that point. Is there a way to disable automatic Hardware Lock Elision on a Haswell Processor using icc?

Google and Intel documentation did not help so far.

0

There are 0 best solutions below