Original Post
I was just timing CPUID (because i need a serializing instruction for a timing class) and it came out to 548 cycles! Can this possibly be right? The following was my code to time CPUID:
__asm {
CPUID
CPUID
CPUID // Call CPUID three times, since the first couple of times can take longer
RDTSC
PUSH EAX
CPUID
RDTSC
POP EBX
SUB EAX, EBX
}
The number of cycles should be in EAX now.