clarify the purpose of this project
[nyanglibc.git] / stdlib / mpn2dbl.shared.s
blobe5130b520003a2cb1045ab52be015be71accdbd7
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_double
9 .hidden __mpn_construct_double
10 .type __mpn_construct_double, @function
11 __mpn_construct_double:
12 movq (%rdi), %rax
13 addw $1023, %si
14 salq $63, %rdx
15 andl $2047, %esi
16 salq $52, %rsi
17 movl %eax, %ecx
18 orq %rsi, %rdx
19 movabsq $4503595332403200, %rsi
20 andq %rsi, %rax
21 orq %rcx, %rdx
22 orq %rax, %rdx
23 movq %rdx, -8(%rsp)
24 movsd -8(%rsp), %xmm0
25 ret
26 .size __mpn_construct_double, .-__mpn_construct_double