clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_getcpuclockid.s
blob2a3492892ceb36fb03f9c17d2b3db434f513da03
1 .text
2 .p2align 4,,15
3 .globl pthread_getcpuclockid
4 .type pthread_getcpuclockid, @function
5 pthread_getcpuclockid:
6 movl 720(%rdi), %eax
7 testl %eax, %eax
8 jle .L3
9 notl %eax
10 leal 6(,%rax,8), %eax
11 movl %eax, (%rsi)
12 xorl %eax, %eax
13 ret
14 .p2align 4,,10
15 .p2align 3
16 .L3:
17 movl $3, %eax
18 ret
19 .size pthread_getcpuclockid, .-pthread_getcpuclockid