clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_mutex_getprioceiling.shared.s
blob44ea118e03b69714eda7fe22f83fe6a013a37faa
1 .text
2 .p2align 4,,15
3 .globl pthread_mutex_getprioceiling
4 .type pthread_mutex_getprioceiling, @function
5 pthread_mutex_getprioceiling:
6 movl 16(%rdi), %eax
7 testb $64, %al
8 je .L3
9 movl (%rdi), %eax
10 shrl $19, %eax
11 movl %eax, (%rsi)
12 xorl %eax, %eax
13 ret
14 .p2align 4,,10
15 .p2align 3
16 .L3:
17 movl $22, %eax
18 ret
19 .size pthread_mutex_getprioceiling, .-pthread_mutex_getprioceiling