intel-tsx-rtm

Crates.iointel-tsx-rtm
lib.rsintel-tsx-rtm
version0.1.0
sourcesrc
created_at2018-01-29 08:54:42.927996
updated_at2018-02-08 20:01:27.185977
descriptionProvides intrinsics for Rust to use Intel's TSX RTM, a hardware transactional memory extension for some Skylake CPUs.
homepagehttps://github.com/lemonrock/intel-tsx-rtm
repositoryhttps://github.com/lemonrock/intel-tsx-rtm.git
max_upload_size
id48759
size36,710
Raphael Cohn (raphaelcohn)

documentation

https://github.com/lemonrock/intel-tsx-rtm/blob/master/README.md

README

intel-tsx-rtm

This crates provides a simple set of wrappers around Intel's TSX RTM instructions and associated intrinsics. It needs a C compiler to create a small shim. This is important because Rust's compiler does not like code with multiple returns. It does not depend on your compiler having the necessary headers (<immintrin.h>), and so can work with older compilers and other Operating Systems.

It uses third-party self-modifying code (Andi Kleen's tsx-tools) to provide runtime detection of CPUs without TSX and fallback to non-hardware paths.

Licensing

The license for this project is MIT.

Commit count: 9

cargo fmt