2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
14 #if defined(__i386__) || defined(__x86_64__)
15 static inline void __cpuidex(int info
[4], int ax
, int cx
)
17 __asm__ ("cpuid" : "=a"(info
[0]), "=b" (info
[1]), "=c"(info
[2]), "=d"(info
[3]) : "a"(ax
), "c"(cx
));
19 static inline void __cpuid(int info
[4], int ax
)
21 return __cpuidex(info
, ax
, 0);
29 #endif /* _INC_INTRIN */