CPUIDrs
your single stop shop for all CPUID related information
Features
- CPUID instruction decoding
- Simple API for querying CPUID information
- Support for multiple CPU architectures
- Easy to use and integrate into your projects
Installation
You can use CPUIDrs by adding it to your project dependencies. For example, if you are using Cargo, add the following to your Cargo.toml:
[]
= { = "https://github.com/SturdyFool10/cpuidrs.git"}
Usage
Here's a simple example of how to use CPUIDrs in your Rust project:
use CpuInfo;
Purpose
This library is designed to allow developers to know whether instruction extensions are supported BEFORE running them so you can get the speed up of using them without causing incompatibility problems with CPUs that do not support them. This approach also would allow a developer to create a message saying the program is not supported on this CPU if it does not support the required instruction set.
Legal
This project is licensed under both the Apache 2.0 and MIT licenses. You can choose which license to use for your project. See the licenses in ./licenses/ for more details.