clarify the purpose of this project
[nyanglibc.git] / stdlib / strtof_nan.shared.s
blobf7f9a27012c0bed1750e417d07593515b81e56c0
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 __GI___strtof_nan
9 .hidden __GI___strtof_nan
10 .type __GI___strtof_nan, @function
11 __GI___strtof_nan:
12 pushq %rbp
13 pushq %rbx
14 movq %rsi, %rbp
15 movq %rdi, %rbx
16 subq $40, %rsp
17 jmp .L2
18 .p2align 4,,10
19 .p2align 3
20 .L3:
21 addq $1, %rbx
22 .L2:
23 movzbl (%rbx), %ecx
24 movl %ecx, %eax
25 andl $-33, %eax
26 subl $65, %eax
27 cmpb $25, %al
28 jbe .L3
29 leal -48(%rcx), %eax
30 cmpb $9, %al
31 jbe .L3
32 cmpb $95, %cl
33 je .L3
34 cmpb %dl, %cl
35 je .L4
36 .L6:
37 movss .LC0(%rip), %xmm0
38 .L5:
39 testq %rbp, %rbp
40 je .L1
41 movq %rbx, 0(%rbp)
42 .L1:
43 addq $40, %rsp
44 popq %rbx
45 popq %rbp
46 ret
47 .L4:
48 leaq 24(%rsp), %rsi
49 leaq _nl_C_locobj(%rip), %r8
50 xorl %ecx, %ecx
51 xorl %edx, %edx
52 call __GI_____strtoull_l_internal
53 cmpq %rbx, 24(%rsp)
54 jne .L6
55 andl $4194303, %eax
56 orl $2143289344, %eax
57 movl %eax, 12(%rsp)
58 movss 12(%rsp), %xmm0
59 jmp .L5
60 .size __GI___strtof_nan, .-__GI___strtof_nan
61 .globl __strtof_nan
62 .set __strtof_nan,__GI___strtof_nan
63 .section .rodata.cst4,"aM",@progbits,4
64 .align 4
65 .LC0:
66 .long 2143289344
67 .hidden _nl_C_locobj