clarify the purpose of this project
[nyanglibc.git] / math / s_isnan.shared.s
blob0555f7e4b6901e96a50be1fa7d091c2dad5d8b55
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 __GI___isnan
9 .hidden __GI___isnan
10 .type __GI___isnan, @function
11 __GI___isnan:
12 movq %xmm0, %rdx
13 movabsq $9223372036854775807, %rax
14 andq %rax, %rdx
15 movabsq $9218868437227405312, %rax
16 subq %rdx, %rax
17 shrq $63, %rax
18 ret
19 .size __GI___isnan, .-__GI___isnan
20 .globl __isnan
21 .set __isnan,__GI___isnan
22 .weak isnan
23 .set isnan,__isnan