xref: /freebsd/lib/msun/i387/s_copysignl.S (revision 7c31cdfa408a4ebce7a3e10d29056a15c28bc092)
1/*
2 * Based on code written by J.T. Conklin <jtc@NetBSD.org>.
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7ENTRY(copysignl)
8	movl	24(%esp),%edx
9	andl	$0x8000,%edx
10	movl	12(%esp),%eax
11	andl	$0x7fff,%eax
12	orl	%edx,%eax
13	movl	%eax,12(%esp)
14	fldt	4(%esp)
15	ret
16END(copysignl)
17
18	.section .note.GNU-stack,"",%progbits
19