clarify the purpose of this project
[nyanglibc.git] / math / s_frexpf.s
blob26dcd5a935244f35e1b35a6caf975691035cabd3
1 .text
2 .p2align 4,,15
3 .globl __frexpf
4 .type __frexpf, @function
5 __frexpf:
6 movd %xmm0, %eax
7 movd %xmm0, %edx
8 movl $0, (%rdi)
9 andl $2147483647, %eax
10 cmpl $2139095039, %eax
11 jg .L7
12 testl %eax, %eax
13 je .L7
14 xorl %ecx, %ecx
15 cmpl $8388607, %eax
16 jg .L5
17 mulss .LC0(%rip), %xmm0
18 movl $-25, %ecx
19 movd %xmm0, %eax
20 movd %xmm0, %edx
21 andl $2147483647, %eax
22 .L5:
23 sarl $23, %eax
24 andl $-2139095041, %edx
25 leal -126(%rcx,%rax), %eax
26 orl $1056964608, %edx
27 movl %edx, -4(%rsp)
28 movl %eax, (%rdi)
29 movd -4(%rsp), %xmm0
30 ret
31 .p2align 4,,10
32 .p2align 3
33 .L7:
34 addss %xmm0, %xmm0
35 ret
36 .size __frexpf, .-__frexpf
37 .weak frexpf32
38 .set frexpf32,__frexpf
39 .weak frexpf
40 .set frexpf,__frexpf
41 .section .rodata.cst4,"aM",@progbits,4
42 .align 4
43 .LC0:
44 .long 1275068416