clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_setaffinity.s
blob01d2875280ffedec16754e2eb8abc429c9396079
1 .text
2 .p2align 4,,15
3 .globl __pthread_setaffinity_new
4 .type __pthread_setaffinity_new, @function
5 __pthread_setaffinity_new:
6 movl 720(%rdi), %edi
7 movl $203, %eax
8 #APP
9 # 33 "pthread_setaffinity.c" 1
10 syscall
12 # 0 "" 2
13 #NO_APP
14 movl %eax, %edx
15 negl %edx
16 cmpl $-4096, %eax
17 movl $0, %eax
18 cmova %edx, %eax
19 ret
20 .size __pthread_setaffinity_new, .-__pthread_setaffinity_new
21 .weak pthread_setaffinity_np
22 .set pthread_setaffinity_np,__pthread_setaffinity_new