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