- Expanded clobber list on i386 RDTSC call

This commit is contained in:
Paul Bakker 2011-10-19 14:27:36 +00:00
parent 2a1c5f5382
commit ca41010b68

View File

@ -70,9 +70,9 @@ unsigned long hardclock( void )
unsigned long hardclock( void ) unsigned long hardclock( void )
{ {
unsigned long tsc; unsigned long lo, hi;
asm( "rdtsc" : "=a" (tsc) ); asm( "rdtsc" : "=a" (lo), "=d" (hi) );
return( tsc ); return( lo );
} }
#else #else