Deleted Added
full compact
s_copysignf.S (140195) s_copysignf.S (192760)
1/*
2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7
1/*
2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7
8__FBSDID("$FreeBSD: head/lib/msun/i387/s_copysignf.S 140195 2005-01-13 18:58:25Z das $");
8__FBSDID("$FreeBSD: head/lib/msun/i387/s_copysignf.S 192760 2009-05-25 14:37:10Z attilio $");
9/* RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") */
10
11ENTRY(copysignf)
12 movl 8(%esp),%edx
13 andl $0x80000000,%edx
14 movl 4(%esp),%eax
15 andl $0x7fffffff,%eax
16 orl %edx,%eax
17 movl %eax,4(%esp)
18 flds 4(%esp)
19 ret
9/* RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") */
10
11ENTRY(copysignf)
12 movl 8(%esp),%edx
13 andl $0x80000000,%edx
14 movl 4(%esp),%eax
15 andl $0x7fffffff,%eax
16 orl %edx,%eax
17 movl %eax,4(%esp)
18 flds 4(%esp)
19 ret
20END(copysignf)