mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- 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:
parent
bf4e17703d
commit
7060f72186
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue