clarify the purpose of this project
[nyanglibc.git] / stdlib / mpn2ldbl.shared.s
blobcdc704dd51d5d2c0ea7607c122c0e78d45b1bf4a
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_long_double
9 .hidden __mpn_construct_long_double
10 .type __mpn_construct_long_double, @function
11 __mpn_construct_long_double:
12 movl %edx, %eax
13 movzbl -15(%rsp), %edx
14 addw $16383, %si
15 sall $7, %eax
16 andl $127, %edx
17 orl %eax, %edx
18 movl %esi, %eax
19 movb %dl, -15(%rsp)
20 movzwl -16(%rsp), %esi
21 andw $32767, %ax
22 andw $-32768, %si
23 orl %eax, %esi
24 movq (%rdi), %rax
25 movw %si, -16(%rsp)
26 movl %eax, -24(%rsp)
27 shrq $32, %rax
28 movl %eax, -20(%rsp)
29 fldt -24(%rsp)
30 ret
31 .size __mpn_construct_long_double, .-__mpn_construct_long_double