clarify the purpose of this project
[nyanglibc.git] / math / s_ldexpl.shared.s
blob212df298f2abf636266d7d6d6214412e06b7b5e7
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 __ldexpl
9 .type __ldexpl, @function
10 __ldexpl:
11 subq $8, %rsp
12 fldt 16(%rsp)
13 fld %st(0)
14 fabs
15 fldt .LC0(%rip)
16 fucomip %st(1), %st
17 fstp %st(0)
18 jb .L2
19 fldz
20 fxch %st(1)
21 fucomi %st(1), %st
22 fstp %st(1)
23 jp .L3
24 jne .L3
25 .L2:
26 fadd %st(0), %st
27 .L1:
28 addq $8, %rsp
29 ret
30 .p2align 4,,10
31 .p2align 3
32 .L3:
33 subq $16, %rsp
34 fstpt (%rsp)
35 call __scalbnl@PLT
36 fld %st(0)
37 popq %rax
38 fabs
39 popq %rdx
40 fldt .LC0(%rip)
41 fucomip %st(1), %st
42 fstp %st(0)
43 jb .L6
44 fldz
45 fxch %st(1)
46 fucomi %st(1), %st
47 fstp %st(1)
48 jp .L1
49 jne .L1
50 .L6:
51 movq __libc_errno@gottpoff(%rip), %rax
52 movl $34, %fs:(%rax)
53 addq $8, %rsp
54 ret
55 .size __ldexpl, .-__ldexpl
56 .globl __wrap_scalbnl
57 .set __wrap_scalbnl,__ldexpl
58 .weak scalbnf64x
59 .set scalbnf64x,__wrap_scalbnl
60 .weak scalbnl
61 .set scalbnl,__wrap_scalbnl
62 .weak ldexpf64x
63 .set ldexpf64x,__ldexpl
64 .weak ldexpl
65 .set ldexpl,__ldexpl
66 .section .rodata.cst16,"aM",@progbits,16
67 .align 16
68 .LC0:
69 .long 4294967295
70 .long 4294967295
71 .long 32766
72 .long 0