mtak- / swym

Efficient transactional memory in rust.
MIT License
209 stars 6 forks source link

rtm based on stdarch #24

Closed mtak- closed 5 years ago

mtak- commented 5 years ago

Today, stdarch was bumped in rust-lang/rust to include the rtm intrinsics. This PR implements the x86 swym-htm backend using those intrinsics.

mtak- commented 5 years ago

The travis linux vm thinks it doesn't support htm when it does. This can be worked around by setting -Ctarget-feature=+rtm.

The macos vm I think genuinely doesn't support rtm, so setting -Ctarget-feature=+rtm will cause the mac build to fail.