clarify the purpose of this project
[nyanglibc.git] / stdlib / mpn2flt.s
blob57770bcd336901cb8117530e4f66b6e09472c261
1 .text
2 .p2align 4,,15
3 .globl __mpn_construct_float
4 .hidden __mpn_construct_float
5 .type __mpn_construct_float, @function
6 __mpn_construct_float:
7 addl $127, %esi
8 movq (%rdi), %rax
9 sall $31, %edx
10 movzbl %sil, %esi
11 sall $23, %esi
12 andl $8388607, %eax
13 orl %esi, %edx
14 orl %eax, %edx
15 movl %edx, -4(%rsp)
16 movss -4(%rsp), %xmm0
17 ret
18 .size __mpn_construct_float, .-__mpn_construct_float