clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_setstack.s
blobddd1766ff6ed0f8ba86f95872c93c2a67aeb744c
1 .text
2 .p2align 4,,15
3 .globl __pthread_attr_setstack
4 .type __pthread_attr_setstack, @function
5 __pthread_attr_setstack:
6 cmpq $16383, %rdx
7 movl $22, %eax
8 jbe .L1
9 orl $8, 8(%rdi)
10 movq %rdx, 32(%rdi)
11 addq %rsi, %rdx
12 movq %rdx, 24(%rdi)
13 xorl %eax, %eax
14 .L1:
15 rep ret
16 .size __pthread_attr_setstack, .-__pthread_attr_setstack
17 .globl pthread_attr_setstack
18 .set pthread_attr_setstack,__pthread_attr_setstack