chiark / gitweb /
6c95cb235c379c46699f83979ee08c8c75f336b0
[elogind.git] / klibc / klibc / arch / i386 / libgcc / __negdi2.S
1 /*
2  * arch/i386/libgcc/__negdi2.S
3  *
4  * 64-bit negation
5  */
6         
7         .text
8         .align 4
9         .globl __negdi2
10         .type __negdi2,@function
11 __negdi2:
12 #ifndef REGPARM
13         movl 4(%esp),%eax
14         movl 8(%esp),%edx
15 #endif
16         negl %edx
17         negl %eax
18         sbbl $0,%edx
19         ret
20
21         .size __negdi2,.-__negdi2