xref: /freebsd/lib/msun/i387/s_copysignf.S (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1/*
2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7/* RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") */
8
9ENTRY(copysignf)
10	movl	8(%esp),%edx
11	andl	$0x80000000,%edx
12	movl	4(%esp),%eax
13	andl	$0x7fffffff,%eax
14	orl	%edx,%eax
15	movl	%eax,4(%esp)
16	flds	4(%esp)
17	ret
18END(copysignf)
19
20	.section .note.GNU-stack,"",%progbits
21