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