Aleksey Kladov 0bd16446db Fix race condition in feature cache on 32 platforms (#837)
* Fix race condition in feature cache on 32 platforms

If we observe that the second word is initialized, we can't really
assume that the first is initialized as well. So check each word
separately.

* Use stronger atomic ordering

Better SeqCst than sorry!

* Use two caches on x64 for simplicity
2020-01-28 21:53:17 +01:00
..
2019-07-09 01:37:07 +02:00
2019-08-13 18:04:22 +02:00
2017-11-22 13:42:58 +01:00
2019-07-09 01:37:07 +02:00
2019-07-09 01:37:07 +02:00
2019-10-11 09:16:33 +02:00
2019-07-09 01:37:07 +02:00

stdarch - Rust's standard library SIMD components

Actions Status

Crates

This repository contains two main crates:

  • core_arch_crate_badge core_arch_docs_badge core_arch implements core::arch - Rust's core library architecture-specific intrinsics, and

  • std_detect_crate_badge std_detect_docs_badge std_detect implements std::detect - Rust's standard library run-time CPU feature detection.

The std::simd component now lives in the packed_simd crate.

How to do a release

To do a release of the core_arch and std_detect crates,