1/* $OpenBSD: s_copysignf.S,v 1.2 2005/08/02 11:17:31 espie Exp $ */ 2/* 3 * Written by J.T. Conklin <jtc@netbsd.org>. 4 * Public domain. 5 */ 6 7#include <machine/asm.h> 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 18