clarify the purpose of this project
[nyanglibc.git] / stdlib / labs.s
blob096ebb30f7ebaf37102cb4f588765db5eb41f013
1 .text
2 .p2align 4,,15
3 .globl labs
4 .type labs, @function
5 labs:
6 movq %rdi, %rdx
7 movq %rdi, %rax
8 sarq $63, %rdx
9 xorq %rdx, %rax
10 subq %rdx, %rax
11 ret
12 .size labs, .-labs
13 .weak imaxabs
14 .set imaxabs,labs