clarify the purpose of this project
[nyanglibc.git] / libgcc / libm / floatunsitf.shared.s
blob98f1e9e11876e43dc852c1a8b97c9d8a308250f3
1 .text
2 .p2align 4,,15
3 .globl __floatunsitf
4 .type __floatunsitf, @function
5 __floatunsitf:
6 testl %edi, %edi
7 je .L3
8 movl %edi, %edi
9 movl $16446, %eax
10 movl $16431, %ecx
11 bsrq %rdi, %rdx
12 xorq $63, %rdx
13 subl %edx, %eax
14 movabsq $281474976710655, %rdx
15 subl %eax, %ecx
16 salq %cl, %rdi
17 andq %rdx, %rdi
18 movl %eax, %edx
19 andw $32767, %dx
20 .L2:
21 movabsq $281474976710655, %rax
22 movq $0, -16(%rsp)
23 movabsq $-281474976710656, %rcx
24 andq %rdi, %rax
25 movq -16(%rsp), %rdi
26 movq $0, -24(%rsp)
27 andq %rcx, %rdi
28 orq %rax, %rdi
29 movq %rdx, %rax
30 movabsq $-9223090561878065153, %rdx
31 andq %rdx, %rdi
32 salq $48, %rax
33 movabsq $9223372036854775807, %rdx
34 orq %rdi, %rax
35 andq %rdx, %rax
36 movq %rax, -16(%rsp)
37 movdqa -24(%rsp), %xmm0
38 ret
39 .p2align 4,,10
40 .p2align 3
41 .L3:
42 xorl %edx, %edx
43 xorl %edi, %edi
44 jmp .L2
45 .size __floatunsitf, .-__floatunsitf