cpuid
A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore.
- For Intel platforms: The code should be in sync with the March 2018 revision of the Intel Architectures SDM.
- For AMD platforms it should be in sync with the AMD64 systems manual no. 24594, Revision 3.32 (March 2021).
Library usage
use CpuId;
let cpuid = new;
if let Some = cpuid.get_vendor_info
let has_sse = cpuid.get_feature_info.map_or;
if has_sse
if let Some = cpuid.get_cache_parameters else