pub(crate) fn detect_features() -> Initializer
🔬This is a nightly-only experimental API. (stdsimd)
Expand description

Run-time feature detection on x86 works by using the CPUID instruction.

The CPUID Wikipedia page contains all the information about which flags to set to query which values, and in which registers these are reported.

The definitive references are: