mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 07:58:11 +00:00
- Expanded clobber list on i386 RDTSC call
This commit is contained in:
parent
2a1c5f5382
commit
ca41010b68
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ unsigned long hardclock( void )
|
|||
|
||||
unsigned long hardclock( void )
|
||||
{
|
||||
unsigned long tsc;
|
||||
asm( "rdtsc" : "=a" (tsc) );
|
||||
return( tsc );
|
||||
unsigned long lo, hi;
|
||||
asm( "rdtsc" : "=a" (lo), "=d" (hi) );
|
||||
return( lo );
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue