clarify the purpose of this project
[nyanglibc.git] / elf / dl-hwcaps-subdirs.shared.s
blob311046bb78761beac6842940e1d5f73fd4310366
1 .text
2 .p2align 4,,15
3 .globl _dl_hwcaps_subdirs_active
4 .hidden _dl_hwcaps_subdirs_active
5 .type _dl_hwcaps_subdirs_active, @function
6 _dl_hwcaps_subdirs_active:
7 movl 152+_rtld_local_ro(%rip), %edx
8 xorl %eax, %eax
9 movl %edx, %ecx
10 andl $33024, %ecx
11 cmpl $33024, %ecx
12 je .L27
13 .L1:
14 rep ret
15 .p2align 4,,10
16 .p2align 3
17 .L27:
18 movl 136+_rtld_local_ro(%rip), %eax
19 andl $1, %eax
20 je .L1
21 andl $125829120, %edx
22 xorl %eax, %eax
23 cmpl $125829120, %edx
24 jne .L1
25 movl 148+_rtld_local_ro(%rip), %edx
26 movl %edx, %eax
27 andl $8192, %eax
28 je .L1
29 movl 212+_rtld_local_ro(%rip), %ecx
30 movl %ecx, %eax
31 andl $1, %eax
32 je .L1
33 movl %edx, %esi
34 xorl %eax, %eax
35 andl $9961985, %esi
36 cmpl $9961985, %esi
37 jne .L1
38 testl $268435456, %edx
39 movl $4, %eax
40 je .L1
41 movl 176+_rtld_local_ro(%rip), %esi
42 testb $32, %sil
43 je .L1
44 movl %edx, %edi
45 andl $536875008, %edi
46 cmpl $536875008, %edi
47 jne .L1
48 andl $32, %ecx
49 je .L1
50 andl $4194304, %edx
51 je .L1
52 movl %esi, %edx
53 movl $6, %eax
54 andl $1342373888, %edx
55 cmpl $1342373888, %edx
56 jne .L1
57 movl %esi, %eax
58 shrl $31, %eax
59 addl $6, %eax
60 ret
61 .size _dl_hwcaps_subdirs_active, .-_dl_hwcaps_subdirs_active
62 .hidden _dl_hwcaps_subdirs
63 .globl _dl_hwcaps_subdirs
64 .section .rodata.str1.16,"aMS",@progbits,1
65 .align 16
66 .type _dl_hwcaps_subdirs, @object
67 .size _dl_hwcaps_subdirs, 30
68 _dl_hwcaps_subdirs:
69 .string "x86-64-v4:x86-64-v3:x86-64-v2"
70 .hidden _rtld_local_ro