#intel #lock #tsx #hle #elision

deprecated nightly intel-tsx-hle

Atomic intrinsics for HLE (Hardware Lock Elision) on some Intel Skylake CPUs

1 unstable release

Uses old Rust 2015

0.0.0 Feb 6, 2018

#79 in #intel

23 downloads per month
Used in spin-locks

MIT license

45KB
762 lines

intel-tsx-hle

intel-tsx-hle is a rust crate providing atomic intrinsics for HLE (Hardware Lock Elision) on some Intel Skylake CPUs.

Licensing

The license for this project is MIT.


lib.rs:

#intel-tsx-hle This crate provides atomic intrinsics for HLE (Hardware Lock Elision) on some Intel Skylake CPUs in 32-bit (x86) and 64-bit (x86_64) modes. The naming of the intrinsics follows that in Andi Kleen's tsx-tools. Intrinsics are available for u8, u16, u32, and, for x86_64, u64. These intrinsics can be thought of as providing additional memory orderings to Rust's Relaxed, Release, Acquire and SeqCst. They closely model the intent of GCC's built in atomic instrincs.

No runtime deps