https://github.com/boostibot/cpu_id
A c/c++ header for cpu id related info on x86
https://github.com/boostibot/cpu_id
c cpp x86
Last synced: 2 months ago
JSON representation
A c/c++ header for cpu id related info on x86
- Host: GitHub
- URL: https://github.com/boostibot/cpu_id
- Owner: Boostibot
- License: mit
- Created: 2023-03-22T22:09:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T10:58:12.000Z (about 3 years ago)
- Last Synced: 2025-12-26T22:46:01.096Z (6 months ago)
- Topics: c, cpp, x86
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpu_id
*A c/c++ header for cpu id related info on x86*
## List of supported compilers/targets:
- **(w) works**: properly reports cpu
- **(c) compiles**: compiles but all functions return empty (can be stil used for runtime testing of flags which will never pass)
- **(d) doesnt compile**
### MSVC:
- x86/x64/x86_64: w
- arm64 + C: w
- arm64 + C++: c
### GCC/Clang:
- x86/x64/x86_64: w
- arm32: c
- arm64: c
- risc: c
- mips: c
- power: c
- clang wasm: d (missing string.h?)
- clang armv7: d (missing string.h?)
- other: c
### MinGW GCC/MinGW Clang:
- x86/x64: w
see https://en.wikipedia.org/wiki/CPUID for more info