Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What compilers currently support Haswell transactional memory?

Which compilers (as of May 2014) are able to generate code that uses the transactional memory capabilities (Restricted Transactional Memory, not simply lock elision)?

like image 871
brooks94 Avatar asked Oct 24 '25 14:10

brooks94


1 Answers

GCC, as of version 4.8 supports Intel RTM:

Support for the Intel RTM and HLE intrinsics, built-in functions and code generation is available via -mrtm and -mhle.

It's probably safe to assume that similar intrinsics are available for a recent version of Intel's ICC, however I can't find a particular version that specifies support (this paper did experimentation with RTM) .

In addition, support likely exists for various smaller languages and JITs, with more transparent support arriving sometime in the future.

like image 69
Matthew G. Avatar answered Oct 26 '25 07:10

Matthew G.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!