clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_setschedpolicy.shared.s
blobe25fed4cb0b61ad543a01d2d5d769cb4e87e7ad5
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __pthread_attr_setschedpolicy
9 .type __pthread_attr_setschedpolicy, @function
10 __pthread_attr_setschedpolicy:
11 cmpl $2, %esi
12 movl $22, %eax
13 ja .L1
14 orl $64, 8(%rdi)
15 movl %esi, 4(%rdi)
16 xorl %eax, %eax
17 .L1:
18 rep ret
19 .size __pthread_attr_setschedpolicy, .-__pthread_attr_setschedpolicy
20 .globl pthread_attr_setschedpolicy
21 .set pthread_attr_setschedpolicy,__pthread_attr_setschedpolicy