clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_setscope.s
blob03918ce11f4a87d350ff9a7f3237d5c80a4cac9f
1 .text
2 .p2align 4,,15
3 .globl __pthread_attr_setscope
4 .type __pthread_attr_setscope, @function
5 __pthread_attr_setscope:
6 testl %esi, %esi
7 je .L3
8 cmpl $1, %esi
9 movl $22, %edx
10 movl $95, %eax
11 cmovne %edx, %eax
12 ret
13 .p2align 4,,10
14 .p2align 3
15 .L3:
16 andl $-5, 8(%rdi)
17 xorl %eax, %eax
18 ret
19 .size __pthread_attr_setscope, .-__pthread_attr_setscope
20 .globl pthread_attr_setscope
21 .set pthread_attr_setscope,__pthread_attr_setscope