ext-cryptopp/TestPrograms/test_x86_cpuid.cxx
2018-11-13 23:39:39 -05:00

8 lines
146 B
C++

int main(int argc, char* argv[])
{
unsigned int a, b, c, d;
asm volatile ( "cpuid" : "+a"(a), "=b"(b), "+c"(c), "=d"(d) );
return 0;
}