clarify the purpose of this project
[nyanglibc.git] / stdlib / mpn2flt.shared.s
blob91068e7485dd15b7a8cff4e5ee09e5adb20fec33
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 __mpn_construct_float
9 .hidden __mpn_construct_float
10 .type __mpn_construct_float, @function
11 __mpn_construct_float:
12 addl $127, %esi
13 movq (%rdi), %rax
14 sall $31, %edx
15 movzbl %sil, %esi
16 sall $23, %esi
17 andl $8388607, %eax
18 orl %esi, %edx
19 orl %eax, %edx
20 movl %edx, -4(%rsp)
21 movss -4(%rsp), %xmm0
22 ret
23 .size __mpn_construct_float, .-__mpn_construct_float