clarify the purpose of this project
[nyanglibc.git] / math / s_ldexpf.shared.s
blobce8437e000e6788437d4468d574aa4cf17e87f00
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 __ldexpf
9 .type __ldexpf, @function
10 __ldexpf:
11 movss .LC0(%rip), %xmm1
12 movaps %xmm0, %xmm3
13 movss .LC1(%rip), %xmm2
14 andps %xmm1, %xmm3
15 ucomiss %xmm3, %xmm2
16 jb .L2
17 pxor %xmm4, %xmm4
18 ucomiss %xmm4, %xmm0
19 jp .L3
20 jne .L3
21 .L2:
22 addss %xmm0, %xmm0
23 ret
24 .p2align 4,,10
25 .p2align 3
26 .L3:
27 subq $40, %rsp
28 movss %xmm2, 28(%rsp)
29 movaps %xmm1, (%rsp)
30 call __scalbnf@PLT
31 movaps (%rsp), %xmm1
32 andps %xmm0, %xmm1
33 movss 28(%rsp), %xmm2
34 ucomiss %xmm1, %xmm2
35 jb .L6
36 pxor %xmm5, %xmm5
37 ucomiss %xmm5, %xmm0
38 jp .L1
39 jne .L1
40 .L6:
41 movq __libc_errno@gottpoff(%rip), %rax
42 movl $34, %fs:(%rax)
43 .L1:
44 addq $40, %rsp
45 ret
46 .size __ldexpf, .-__ldexpf
47 .globl __wrap_scalbnf
48 .set __wrap_scalbnf,__ldexpf
49 .weak scalbnf32
50 .set scalbnf32,__wrap_scalbnf
51 .weak scalbnf
52 .set scalbnf,__wrap_scalbnf
53 .weak ldexpf32
54 .set ldexpf32,__ldexpf
55 .weak ldexpf
56 .set ldexpf,__ldexpf
57 .section .rodata.cst16,"aM",@progbits,16
58 .align 16
59 .LC0:
60 .long 2147483647
61 .long 0
62 .long 0
63 .long 0
64 .section .rodata.cst4,"aM",@progbits,4
65 .align 4
66 .LC1:
67 .long 2139095039