cosmopolitan/libc/nt/kernel32/GetTickCount64.S

19 lines
315 B
ArmAsm
Raw Normal View History

2023-05-01 19:43:59 -07:00
#include "libc/nt/codegen.h"
.imp kernel32,__imp_GetTickCount64,GetTickCount64,0
.text.windows
GetTickCount64:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
sub $32,%rsp
call *__imp_GetTickCount64(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn GetTickCount64,globl
.previous