summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/lib/libgcc/__negdi2.S
blob: 37b0d2d417a9420351107d9b4ae7943bd414ab5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * arch/i386/libgcc/__negdi2.S
 *
 * 64-bit negation
 */

	.text
	.align 4
	.globl __negdi2
	.type __negdi2,@function
__negdi2:
#ifndef REGPARM
	movl 4(%esp),%eax
	movl 8(%esp),%edx
#endif
	negl %edx
	negl %eax
	sbbl $0,%edx
	ret

	.size __negdi2,.-__negdi2