8 * cpuid - a CPUID instruction parser for x86/x86_64 CPUs.
10 * This module tries to keep-it-simple to get information about the CPU
14 * #include <ccan/cpuid/cpuid.h>
20 * cpuid(CPUID_HIGHEST_EXTENDED_FUNCTION_SUPPORTED, &highest);
21 * printf("Highest extended function supported: %d\n", highest);
26 * Author: Ahmed Samy <f.fallen45@gmail.com>
31 int main(int argc, char *argv[])
36 if (strcmp(argv[1], "depends") == 0) {
37 #if defined(__i386__) || defined(__i386) || defined(__x86_64) \
38 || defined(_M_AMD64) || defined(__M_X64)
41 printf("ccan/build_assert\n");