libcryfs/vendor/cryptopp/vendor_cryptopp/TestPrograms/test_x86_cpuid.cxx

8 lines
155 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;
}