clarify the purpose of this project
[nyanglibc.git] / math / s_isnanl.s
blob88a6204026087164360b03f8638d6978c622c614
1 .text
2 .p2align 4,,15
3 .globl __isnanl
4 .hidden __isnanl
5 .type __isnanl, @function
6 __isnanl:
7 movq 8(%rsp), %rsi
8 movq 16(%rsp), %rdx
9 movq %rsi, %rcx
10 leal (%rdx,%rdx), %eax
11 shrq $32, %rcx
12 movl %ecx, %edx
13 andl $65534, %eax
14 notl %ecx
15 andl $2147483647, %edx
16 orl %edx, %esi
17 movl %esi, %edx
18 negl %edx
19 orl %esi, %edx
20 shrl $31, %edx
21 orl %eax, %edx
22 negl %eax
23 andl %ecx, %eax
24 movl $65534, %ecx
25 subl %edx, %ecx
26 shrl $31, %eax
27 movl %ecx, %edx
28 shrl $16, %edx
29 orl %edx, %eax
30 ret
31 .size __isnanl, .-__isnanl
32 .weak isnanl
33 .set isnanl,__isnanl