clarify the purpose of this project
[nyanglibc.git] / stdlib / labs.shared.s
blobab8516d7b002bd87951c0803754f6387732d820a
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 labs
9 .type labs, @function
10 labs:
11 movq %rdi, %rdx
12 movq %rdi, %rax
13 sarq $63, %rdx
14 xorq %rdx, %rax
15 subq %rdx, %rax
16 ret
17 .size labs, .-labs
18 .weak imaxabs
19 .set imaxabs,labs