Sign in
fuchsia
/
third_party
/
github.com
/
madler
/
zlib
/
9c3a5830218c4e7fff23b8fc4386269db77a03a9
/
.
/
contrib
/
testzlib
/
rdtsc64.asm
blob: 6b78a8b54a1a7c6d544b96bbddc37038c4dbf00e [
file
] [
log
] [
blame
]
;
rdtsc64
.
asm
;
;
unsigned
_int64 myrdtsc
();
;
;
return
the performance rdtsc value
,
on AMD64
/
Intel
EM64T
;
;
compile
with
:
;
ml64
.
exe
" /Flrdtsc64 /c /Zi rdtsc64.asm
;
.code
myrdtsc PROC
rdtsc
shl rdx,32
or rax,rdx
ret
myrdtsc ENDP
END