clarify the purpose of this project
[nyanglibc.git] / time / difftime.s
blob7274f0d032572d843caa03d2737e6669b727ef4a
1 .text
2 .p2align 4,,15
3 .globl __difftime
4 .type __difftime, @function
5 __difftime:
6 movq %rdi, -32(%rsp)
7 movq %rsi, -24(%rsp)
8 fildq -32(%rsp)
9 fildq -24(%rsp)
10 fsubrp %st, %st(1)
11 fstpl -16(%rsp)
12 movsd -16(%rsp), %xmm0
13 ret
14 .size __difftime, .-__difftime
15 .globl difftime
16 .set difftime,__difftime