| 127 | #include <intrin.h> |
| 128 | |
| 129 | inline CPUIDInfo cpuid(std::uint32_t eax) |
| 130 | { |
| 131 | CPUIDInfo info; |
| 132 | __cpuidex((int*)&info.data[0], eax, 0); |
| 133 | return info; |
| 134 | } |
| 135 | #else |
| 136 | // Assume GCC-compatible inline assembly syntax |
| 137 | inline CPUIDInfo cpuid(std::uint32_t eax) |