xref: /freebsd/lib/msun/i387/s_copysignf.S (revision 1719886f6d08408b834d270c59ffcfd821c8f63a)
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