clarify the purpose of this project
[nyanglibc.git] / ctype / isctype.shared.s
blob878dbe8899126ddddb1750f17ea40670862e7203
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 __isctype
9 .type __isctype, @function
10 __isctype:
11 movq __libc_tsd_LOCALE@gottpoff(%rip), %rax
12 movslq %edi, %rdi
13 movq %fs:(%rax), %rax
14 movq (%rax), %rax
15 movq 64(%rax), %rax
16 movzwl 256(%rax,%rdi,2), %eax
17 andl %esi, %eax
18 ret
19 .size __isctype, .-__isctype
20 .weak isctype
21 .set isctype,__isctype