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