Crate simd_runtime_check_x64 [−] [src]
This is a (nightly-only) library that provides an check at runtime to see if various SIMD features are supported.
The code has been taken from parched/runtime-target-feature-rs
, see
https://github.com/parched/runtime-target-feature-rs/blob/master/rt/src/x86.rs
I have only seperated it into a crate because the runtime-target-feature-rs
crate didn't provide me with enough control to actually choose between
SIMD and non-SIMD versions of functions at runtime.
Functions
has_avx | |
has_avx2 | |
has_bmi | |
has_bmi2 | |
has_fma | |
has_lzcnt | |
has_popcnt | |
has_rdrnd | |
has_rdseed | |
has_sse | |
has_sse2 | |
has_sse3 | |
has_sse4_1 | |
has_sse4_2 | |
has_sse4a | |
has_ssse3 | |
has_tbm |