mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
21 lines
453 B
ArmAsm
21 lines
453 B
ArmAsm
|
#include "libc/nt/codegen.h"
|
||
|
.imp API-MS-Win-Core-Realtime-l1-1-1,__imp_QueryUnbiasedInterruptTimePrecise,QueryUnbiasedInterruptTimePrecise
|
||
|
|
||
|
.text.windows
|
||
|
.ftrace1
|
||
|
QueryUnbiasedInterruptTimePrecise:
|
||
|
.ftrace2
|
||
|
#ifdef __x86_64__
|
||
|
push %rbp
|
||
|
mov %rsp,%rbp
|
||
|
mov %rdi,%rcx
|
||
|
sub $32,%rsp
|
||
|
call *__imp_QueryUnbiasedInterruptTimePrecise(%rip)
|
||
|
leave
|
||
|
#elif defined(__aarch64__)
|
||
|
mov x0,#0
|
||
|
#endif
|
||
|
ret
|
||
|
.endfn QueryUnbiasedInterruptTimePrecise,globl
|
||
|
.previous
|