1/*
2 * Public domain.
3 */
4
5#include <machine/asm.h>
6#include <libm-alias-float.h>
7
8RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $")
9
10ENTRY(__copysignf)
11 movl 8(%esp),%edx
12 movl 4(%esp),%eax
13 andl $0x80000000,%edx
14 andl $0x7fffffff,%eax
15 orl %edx,%eax
16 movl %eax,4(%esp)
17 flds 4(%esp)
18 ret
19END (__copysignf)
20libm_alias_float (__copysign, copysign)
21

source code of glibc/sysdeps/i386/fpu/s_copysignf.S