clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_sigmask.shared.s
blobe2cd9f851b68c07f875d102475e4948cfa382f39
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __pthread_sigmask,pthread_sigmask@@GLIBC_2.32
7 .symver __pthread_sigmask_2,pthread_sigmask@GLIBC_2.2.5
8 #NO_APP
9 .p2align 4,,15
10 .globl __GI___pthread_sigmask
11 .hidden __GI___pthread_sigmask
12 .type __GI___pthread_sigmask, @function
13 __GI___pthread_sigmask:
14 movq %rsi, %rax
15 subq $16, %rsp
16 xorl %esi, %esi
17 testq %rax, %rax
18 je .L2
19 movq (%rax), %rcx
20 movabsq $6442450944, %rsi
21 testq %rsi, %rcx
22 jne .L3
23 movq %rax, %rsi
24 .L2:
25 movl $8, %r10d
26 movl $14, %eax
27 #APP
28 # 41 "pthread_sigmask.c" 1
29 syscall
31 # 0 "" 2
32 #NO_APP
33 movl %eax, %edx
34 negl %edx
35 cmpl $-4096, %eax
36 movl $0, %eax
37 cmova %edx, %eax
38 addq $16, %rsp
39 ret
40 .p2align 4,,10
41 .p2align 3
42 .L3:
43 movdqu (%rax), %xmm0
44 leaq -120(%rsp), %rsi
45 movaps %xmm0, -120(%rsp)
46 movdqu 16(%rax), %xmm0
47 movaps %xmm0, -104(%rsp)
48 movdqu 32(%rax), %xmm0
49 movaps %xmm0, -88(%rsp)
50 movdqu 48(%rax), %xmm0
51 movaps %xmm0, -72(%rsp)
52 movdqu 64(%rax), %xmm0
53 movaps %xmm0, -56(%rsp)
54 movdqu 80(%rax), %xmm0
55 movaps %xmm0, -40(%rsp)
56 movdqu 96(%rax), %xmm0
57 movaps %xmm0, -24(%rsp)
58 movdqu 112(%rax), %xmm0
59 movabsq $-6442450945, %rax
60 andq %rax, %rcx
61 movaps %xmm0, -8(%rsp)
62 movq %rcx, -120(%rsp)
63 jmp .L2
64 .size __GI___pthread_sigmask, .-__GI___pthread_sigmask
65 .globl __pthread_sigmask
66 .set __pthread_sigmask,__GI___pthread_sigmask
67 .globl __pthread_sigmask_2
68 .set __pthread_sigmask_2,__pthread_sigmask