Module std_detect::detect::cache  
source · 🔬This is a nightly-only experimental API. (
stdsimd)Expand description
Caches run-time feature detection so that it only needs to be computed once.
Structs
- Feature cache with capacity for
size_of::<usize::MAX>() * 8 - 1features. - This type is used to initialize the cache
 
Constants
- Maximum number of features that can be cached.
 
Statics
- This global variable is a cache of the features supported by the CPU.
 
Functions
- Sets the
bitofx. - Tests the
bitof the storage. If the storage has not been initialized, initializes it with the result ofos::detect_features(). - Tests the
bitofx. - Unset the
bit ofx`.