- So, I guess if you're doing the inline asm properly, tsc doesn't need to be marked as

volatile.

SVN r1513 (trunk)
This commit is contained in:
Randy Heit 2009-03-29 02:40:41 +00:00
parent bf4e17703d
commit 7060f72186

View file

@ -130,7 +130,7 @@ inline volatile unsigned long long rdtsc()
if (CPU.bRDTSC)
#endif
{
register unsigned volatile long long tsc;
register unsigned long long tsc;
asm volatile ("\trdtsc\n" : "=A" (tsc));
return tsc;
}