zlib 1.2.2.3
This commit is contained in:
18
contrib/testzlib/rdtsc64.asm
Normal file
18
contrib/testzlib/rdtsc64.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
; 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
|
||||
Reference in New Issue
Block a user