Files
AK2-stuff/fibb_tsc/timestamp64.s
T

20 lines
153 B
ArmAsm

# Jan Potocki 2020
.global timestamp
# Segment kodu
.text
timestamp:
push %rbx
xor %rax, %rax
cpuid
rdtsc
shl $32, %rdx
or %rdx, %rax
pop %rbx
ret