mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +00:00
- Fixed GCC rdtsc (for real this time, I hope).
SVN r1511 (trunk)
This commit is contained in:
parent
366ed7047a
commit
3ee37fdc08
1 changed files with 2 additions and 2 deletions
|
@ -130,8 +130,8 @@ inline volatile unsigned long long rdtsc()
|
|||
if (CPU.bRDTSC)
|
||||
#endif
|
||||
{
|
||||
register unsigned volatile long long tsc asm("eax");
|
||||
asm volatile ("\trdtsc\n" : : : "eax", "edx");
|
||||
register unsigned volatile long long tsc;
|
||||
asm volatile ("\trdtsc\n" : "=A" (tsc));
|
||||
return tsc;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue